Page tree
Skip to end of metadata
Go to start of metadata

Description

This command will click an element according to the coordinates specified in the command.



Parameters

Name

Value

Description

x coordinateintX: Horizontal Offset from the Element in screen pixels 
y coordinateintY: Vertical Offset from the Element in screen pixels
clickCountint

Number of clicks to perform

Usage

This command allows you to click an element according to its location on the screen, using x and y coordinates.



Example

Set Experitest Url

Please make sure you replace <EXPERITEST_URL> with appropriate URL in the code snippet below.

Usage of ClickCoordinate Command
driver = new AndroidDriver(new URL("<EXPERITEST_URL>"), dc);
seetest = new SeeTestClient(driver);


...
...

// locate the element at coordinates x: 250, y: 100 and clicks on it three times
seetest.clickCoordinate(250, 100, 3);



  • No labels