Assistive-Webdriver

Home > assistive-playwright-client > VMMouse > dblclick

VMMouse.dblclick() method

Shortcut for VMMouse.click() with clickCount option set to 2.

Signature:

dblclick(x: number, y: number, options?: {
        button?: "left" | "middle" | "right" | undefined;
        delay?: number | undefined;
        origin?: ElementHandle<HTMLElement | SVGElement> | null;
    }): Promise<void>;

Parameters

Parameter Type Description
x number  
y number  
options { button?: “left” | “middle” | “right” | undefined; delay?: number | undefined; origin?: ElementHandle<HTMLElement | SVGElement> | null; }  

Returns:

Promise<void>