Java Script in Android for click action | Appium Forum
10% Off Learning Discount Avail now

Java Script in Android for click action

E
Eswara Post on 04/12/2019

Hello Team,

Need information on if java script executor can be used to perform action on the real device.

Device: Android 9.0

Appium desktop: 1.5

Appium Java Client : 7.3

Actions like : Click or Entertext

If Yes, Could you help me with code snippet.

Thanks,

Eswara

 

 

S

Instructor

Support Team Reply on 04/12/2019

It can be but prefer not to do it

Use primitive locator

Code is same as you write in Selenium