CSS Selector
CSS Selector Attribute
CSS Selectors are available via the Mobilize.QualityMate.Automation.Selectors
namespace. Selectors must be set as control attributes:
Web Support
All CSS selectors are supported for Web, which can be found on the following W3Schools article.
Desktop Support
The following subset of CSS selectors can be used on Desktop:
Selector | Example | Description |
---|---|---|
|
| Selects all elements. |
|
| Selects all elements via their control type. |
|
| Selects all elements via their class name. |
|
| Selects all elements with the control type and class name specified. |
|
| Selects elements via their automation ID. |
|
| Selects all elements that match any selector listed, separated by a comma. |
|
| Selects all descendants within a parent element. |
|
| Selects all direct children within a parent element. |
|
| Selects all siblings after an element. |
|
| Selects all siblings placed immediately after an element. |
|
| Selects all elements that have the exact property value specified. |
|
| Selects all elements that have a property which contains the value specified. |
|
| Equivalent to |
|
| Selects all elements that have a property which starts with the value specified. |
|
| Equivalent to |
|
| Selects all elements that have a property which ends with the value specified. |
|
| Selects the element at position |
|
| Selects the |
Last updated