Skip to main content

SetDefaultClickDownTime

Description

Use this command to set the default click down time (default is 100 milliseconds). A typical use case is to simulate a longer than usual click. 

Parameters

NameTypeDescription
DowntimeIntegerTime in milliseconds

Usage

info

Replace <server> with the appropriate URL.

Example

SetDefaultClickDownTime

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");

...
...

//Clicks for 5000 milliseconds
seetest.setDefaultClickDownTime(5000);