Skip to content

RaiseSoftKeyboardParams

Parameters for raiseSoftKeyboard.

Import:

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

Signature:

export interface RaiseSoftKeyboardParams

Properties

PropertyTypeDescription
deviceIdstringThe device to touch.
diagnosticsDirectory?stringWhere a failed attempt writes the device framebuffer.

When omitted, it is dist/screenshots under the working directory — resolved at load, so there is no literal default to state here.
inputSelectorstringThe CSS selector of the field to touch, e.g. .prompt-input.
minimumKeyboardHeightInPixels?numberThe least a raised keyboard lifts the field by.

When omitted, DEFAULT_MINIMUM_KEYBOARD_HEIGHT_IN_PIXELS from soft-keyboard-geometry applies.
vaultPath?stringThe vault to read the geometry from. When omitted, the current test context's vault is used.

Links to this page: