Methods
execute
- execute<TResult>(script: function, ...args: Argument[]): Promise<TResult>
-
Type parameters
Parameters
-
script: function
-
- (...args: Argument[]): TResult
-
Parameters
Returns TResult
-
Rest ...args: Argument[]
Returns Promise<TResult>
findNodes
- findNodes(selector: string, ancestor?: WebNode): Promise<WebNode[]>
-
Parameters
-
selector: string
-
Optional ancestor: WebNode
Returns Promise<WebNode[]>
goto
- goto(url: string): Promise<void>
-
Parameters
Returns Promise<void>
press
- press(key: Key): Promise<void>
-
Parameters
Returns Promise<void>
https://pageobject.js.org/api/web/interfaces/webadapter.html