Assistive-Webdriver

Home > assistive-playwright-client > VMMouse > down

VMMouse.down() method

Sends a low-level mousedown event to the virtual machine.

Signature:

down(options?: {
        button?: "left" | "middle" | "right" | undefined;
        clickCount?: number | undefined;
    }): Promise<void>;

Parameters

Parameter Type Description
options { button?: “left” | “middle” | “right” | undefined; clickCount?: number | undefined; } button: mouse button to use, defaults to "left" clickCount: ignored

Returns:

Promise<void>