Skip to content

FindElementsByCSSSelector

Search for DOM-based elements using a CSS selector query.

Property Type Required Description
Patterns String Array False List of values which can optionally contain wildcard (*) characters at the beginning and end of each value. The existence of wildcard characters will determine if a starts with, ends with, contains, or equal operation is performed during the match.
Nearest Enumeration False Valid values: Any, Left, Right, Top, Bottom
IfFail Boolean False Valid values: Error, Ignore
Skip Number False Number of items to skip in the resulting pattern matches
Take Number False Number of items to take in the resulting pattern matches
ConditionGroup String False Value referring to the Name property in a matching rule (HtmlRule, SnapshotRule) or the ResultVariableName property in the ExecuteScript action. If specified, this action will only run if the referred to result is true
NotConditionGroup String False Value referring to the Name property in a matching rule (HtmlRule, SnapshotRule) or the ResultVariableName property in the ExecuteScript action. If specified, this action will only run if the referred to result is false