Gets a list of PageElements that have the specified Tag(s).
IList<IPageElement> GetElementsWithTags(
string pattern,
TagQueryOptions option
)
Parameters
- pattern
-
Type: string
A partial string or Regex pattern to match. Tags are case-insensitive.
- option
-
Type: TagQueryOptions
Can be one of Equals, StartsWith, EndsWith, Contains or Regex
