Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
The Interface for a behat root context. More...
Public Member Functions | |
getSession ($name=null) | |
Returns the Mink session. | |
Public Attributes | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. | |
The Interface for a behat root context.
This interface should be implemented by the behat_base context, and behat form fields, and it should be paired with the behat_session_trait.
It should not be necessary to implement this interface, and the behat_session_trait trait in normal circumstances.
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::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.