Skip to content

tapDevice

Touches the device at a point, the way a thumb would.

Import:

import { tapDevice } from 'obsidian-integration-testing';

Signature:

function tapDevice(params: TapDeviceParams): Promise<void>

Parameters:

ParameterTypeDescription
paramsTapDeviceParamsThe device and where to touch it.

Returns: Promise<void> — A Promise that resolves once the touch has been dispatched.


Links to this page: