Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Public Member Functions | |
getSession ($name=null) | |
Returns the Mink session. More... | |
Public Attributes | |
const | EXTENDED_TIMEOUT = 10 |
And extended timeout for specific cases. More... | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. More... | |
const | REDUCED_TIMEOUT = 2 |
Small timeout. More... | |
const | TIMEOUT = 6 |
The timeout for each Behat step (load page, wait for an element to load...). More... | |
behat_session_interface::getSession | ( | $name = null | ) |
Returns the Mink session.
string | null | $name | name of the session OR active session will be used |
Behat::Mink::Session |
Implemented in behat_form_field.
const behat_session_interface::EXTENDED_TIMEOUT = 10 |
And extended timeout for specific cases.
const behat_session_interface::PAGE_READY_JS |
The JS code to check that the page is ready.
The document must be complete and either M.util.pending_js must be empty, or it must not be defined at all.
const behat_session_interface::REDUCED_TIMEOUT = 2 |
Small timeout.
A reduced timeout for cases where self::TIMEOUT is too much and a simple $this->getSession()->getPage()->find() could not be enough.
const behat_session_interface::TIMEOUT = 6 |
The timeout for each Behat step (load page, wait for an element to load...).