Tap on screen using appium


Tapping on any WebElement on screen is same as clicking on the object, (just, tap word is a mobile term), but tap method provides some more features.

To tap on any position on screen or center of a webElement, java-client have a class TouchAction which provides 3

Refer – java-client docs

Syntax – 

TouchAction tc = new TouchAction(driver);

Let’s see the code implementation

Using system settings app of android handset.

Settings app : Display -> Brightness level -> tap on seek bar to set the level

Short link – bit.ly/qav-apmtap

Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our facebook:qavalidation.com, Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *