Skip to content

ClickMouseParams

Parameters for CommonArguments.clickMouse.

Import:

import type { ClickMouseParams } from 'obsidian-integration-testing';

Signature:

export interface ClickMouseParams

Properties

PropertyTypeDescription
button?MouseButtonThe mouse button to press.
modifiers?readonly Modifier[]The modifier keys to hold, using Obsidian's Modifier names. 'Mod' resolves per-platform (Cmd on macOS, Ctrl elsewhere).
xnumberThe x coordinate (web-contents DIP) to click at.
ynumberThe y coordinate (web-contents DIP) to click at.

Links to this page: