@pageobject/web
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
JSDOMAdapter
execute
find
Nodes
goto
press
quit
JSDOMNode
Keyboard
Page
Web
Adapter
Test
Web
Component
Web
Adapter
Web
Node
Argument
Character
Key
fileURL
serialize
Hierarchy
JSDOMAdapter
Implements
WebAdapter
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
?:
WebNode
)
:
Promise
<
WebNode
[]
>
Parameters
selector:
string
Optional
ancestor:
WebNode
Returns
Promise
<
WebNode
[]
>
goto
goto
(
url
:
string
)
:
Promise
<
void
>
Parameters
url:
string
Returns
Promise
<
void
>
press
press
(
key
:
Key
)
:
Promise
<
void
>
Parameters
key:
Key
Returns
Promise
<
void
>
quit
quit
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>