Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
behat_partial_named_selector Class Reference

Moodle selectors manager. More...

Inheritance diagram for behat_partial_named_selector:

Public Member Functions

 __construct ()
 Creates selector instance.
 

Static Protected Attributes

static array $allowedselectors
 Allowed types when using selector arguments.
 
static array $allowedtextselectors
 Allowed types when using text selectors arguments.
 
static array $moodleselectors
 Behat by default comes with XPath, CSS and named selectors, named selectors are a mapping between names (like button) and xpaths that represents that names and includes a placeholder that will be replaced by the locator.
 

Detailed Description

Moodle selectors manager.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Data Documentation

◆ $allowedtextselectors

array behat_partial_named_selector::$allowedtextselectors
staticprotected
Initial value:
= array(
'activity' => 'activity',
'block' => 'block',
'css_element' => 'css_element',
'dialogue' => 'dialogue',
'dropdown_item' => 'dropdown_item',
'fieldset' => 'fieldset',
'icon' => 'icon',
'list_item' => 'list_item',
'question' => 'question',
'region' => 'region',
'section' => 'section',
'table' => 'table',
'table_row' => 'table_row',
'xpath_element' => 'xpath_element',
'form_row' => 'form_row',
'group_message_header' => 'group_message_header',
'group_message' => 'group_message',
'autocomplete' => 'autocomplete',
'iframe' => 'iframe',
'option_role' => 'option_role',
)

Allowed types when using text selectors arguments.

◆ $moodleselectors

array behat_partial_named_selector::$moodleselectors
staticprotected

Behat by default comes with XPath, CSS and named selectors, named selectors are a mapping between names (like button) and xpaths that represents that names and includes a placeholder that will be replaced by the locator.

These are Moodle's own xpaths.

XPaths for moodle elements.


The documentation for this class was generated from the following file: