By
Index
Methods
Constructors
Methods
staticcss
Parameters
selector: Answerable<string>
Returns Question<Promise<ByCss>>
staticcssContainingText
Locates a PageElement with a given
innerText
using a CSS selector.Parameters
selector: Answerable<string>
text: Answerable<string>
Returns Question<Promise<ByCssContainingText>>
staticdeepCss
Locates a PageElement using a CSS selector capable of piercing shadow DOM-piercing
Parameters
selector: Answerable<string>
Returns Question<Promise<ByCss>>
staticid
Locates a PageElement using its id.
Parameters
selector: Answerable<string>
Returns Question<Promise<ById>>
statictagName
Locates a PageElement using the name of its HTML tag.
Parameters
selector: Answerable<string>
Returns Question<Promise<ByTagName>>
staticxpath
Locates a PageElement using an XPath selector.
Parameters
selector: Answerable<string>
Returns Question<Promise<ByXPath>>
Constructors
constructor
Returns By
Locates a PageElement using a CSS selector.