Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Static Protected Attributes | List of all members
behat_partial_named_selector Class Reference
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. More...
 
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. More...
 

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: