No results for

Powered byAlgolia
⚠️ This is archived documentation for v0.44. Go to the latest version

dblclick([options])

attention

This feature has known issues. For details, refer to #469 and #471.

Mouse double click on the chosen element.

ParameterTypeDefaultDescription
options
objectnull

Example

import { chromium } from 'k6/experimental/browser';
export default async function () {
const browser = chromium.launch();
const page = browser.newPage();
await page.goto('https://test.k6.io/browser.php');
const button = page.locator("#counter-button");
button.dblclick();
}