Java Script in Android for click action | Appium Forum
E
Eswara Posted 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

 

 


A
Ashish Thakur Replied on 04/12/2019

It can be but prefer not to do it

Use primitive locator

Code is same as you write in Selenium