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

click

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

type

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

focus

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

hover

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

select

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

tap

Tap on an element (for touch devices). Upstream docs
selector
string
required
await page.tap('...');