ClickElementParams
Parameters for CommonArguments.clickElement.
Import:
import type { ClickElementParams } from 'obsidian-integration-testing';Signature:
export interface ClickElementParamsProperties
| Property | Type | Description |
|---|---|---|
| button? | MouseButton | The mouse button to press. |
| element | HTMLElement | The element to click. The pointer is moved to its center. This is a live renderer DOM node — the callback runs in-renderer, so no cross-process serialization is needed (same as TypeIntoEditorParams.editor). |
| modifiers? | readonly Modifier[] | The modifier keys to hold, using Obsidian's Modifier names. 'Mod' resolves per-platform (Cmd on macOS, Ctrl elsewhere). |
Links to this page: