Commands
Page
Enhances playwrights Page:
get
Alias for waitForSelector
, returns an Element
getAll
Alias for waitForSelector
+ $$
, returns an ElementList
wait
Alias for waitForTimeout
.
evaluate
Enhances evaluate
with JSON.stringify
replacer, returns a Value
Frame
Enhances playwrights Frame with methods from tuiv Page.
Element
If not otherwise specified, all calls return the same Element again.
should
find
Alias for waitForSelector
, returns a new Element
findAll
Alias for waitForSelector
+ $$
, returns a new ElementList
clear
Alias for fill('')
type
Enhances playwright type
, supports keypress syntax: type('press {Shift+Control+Delete}{Enter}')
boundingBox
Returns a Value
closest
Wraps native closest, returns an Element
contentFrame
Returns a Frame