Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Steps definitions base class. 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. | |
Steps definitions base class.
To extend by the steps definitions of the different Moodle components.
It can not contain steps definitions to avoid duplicates, only utility methods shared between steps.
@method NodeElement find_field(string $locator) Finds a form element @method NodeElement find_button(string $locator) Finds a form input submit element or a button @method NodeElement find_link(string $locator) Finds a link on a page @method NodeElement find_file(string $locator) Finds a forum input file element
|
inherited |
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.
|
inherited |
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.