@pageobject/web
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
JSDOMAdapter
JSDOMNode
Keyboard
Page
Web
Adapter
Test
Web
Component
Web
Adapter
execute
find
Nodes
goto
press
quit
Web
Node
Argument
Character
Key
fileURL
serialize
Hierarchy
Adapter
<
WebNode
>
WebAdapter
Implemented by
JSDOMAdapter
Index
Methods
execute
find
Nodes
goto
press
quit
Methods
execute
execute<TResult>
(
script
:
function
,
...
args
:
Argument
[]
)
:
Promise
<
TResult
>
Type parameters
TResult
Parameters
script:
function
(
...
args
:
Argument
[]
)
:
TResult
Parameters
Rest
...
args:
Argument
[]
Returns
TResult
Rest
...
args:
Argument
[]
Returns
Promise
<
TResult
>
find
Nodes
find
Nodes
(
selector
:
string
, ancestor
?:
TNode
)
:
Promise
<
WebNode
[]
>
Parameters
selector:
string
Optional
ancestor:
TNode
Returns
Promise
<
WebNode
[]
>
goto
goto
(
url
:
string
)
:
Promise
<
void
>
Parameters
url:
string
Returns
Promise
<
void
>
press
press
(
key
:
Key
|
Character
)
:
Promise
<
void
>
Parameters
key:
Key
|
Character
Returns
Promise
<
void
>
quit
quit
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>