Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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',
'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',
)

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: