Skip to main content
Frame actions methods for the Puppeteer driver.

click

Click on an element. Upstream docs
selector
string
required
options
PuppeteerClickOptions
await frame.click('...');

type

Type text into an element. Upstream docs
selector
string
required
text
string
required
options
PuppeteerKeyboardTypeOptions
await frame.type('...', '...');

focus

Focus on an element. Upstream docs
selector
string
required
await frame.focus('...');

hover

Hover over an element. Upstream docs
selector
string
required
await frame.hover('...');

select

Select options in a <select> element. Upstream docs
selector
string
required
values
string[]
required
result
string[]
Return value
await frame.select('...', /* string[] */);

tap

Tap on an element. Upstream docs
selector
string
required
await frame.tap('...');