View Source Improve this doc

touchLongClick

Long press on the touch screen using finger motion events.

This command is deprecated and will be removed soon. Make sure you don’t use it in your automation/test scripts anymore to avoid errors. Please use the touchPerform command instead.

Usage

1
browser.touchLongClick(id);

Parameters

Param Type Details
id String ID of the element to long press on

Support

Support for android