@pageobject/puppeteer
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Puppeteer
Adapter
Puppeteer
Node
constructor
element
Handle
page
click
double
Click
execute
Hierarchy
PuppeteerNode
Implements
WebNode
Index
Constructors
constructor
Properties
element
Handle
page
Methods
click
double
Click
execute
Constructors
constructor
new
Puppeteer
Node
(
elementHandle
:
ElementHandle
, page
:
Page
)
:
PuppeteerNode
Parameters
elementHandle:
ElementHandle
page:
Page
Returns
PuppeteerNode
Properties
element
Handle
element
Handle
:
ElementHandle
page
page
:
Page
Methods
click
click
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
double
Click
double
Click
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
execute
execute<THTMLElement, TResult>
(
script
:
function
,
...
args
:
Argument
[]
)
:
Promise
<
TResult
>
Type parameters
THTMLElement
:
HTMLElement
TResult
Parameters
script:
function
(
element
:
THTMLElement
,
...
args
:
Argument
[]
)
:
TResult
Parameters
element:
THTMLElement
Rest
...
args:
Argument
[]
Returns
TResult
Rest
...
args:
Argument
[]
Returns
Promise
<
TResult
>