Reputation: 25
I'm trying automate Mobile application using Appium Library in Robot Framework. Can anybody help me how to use java script for clicking on button.
Upvotes: 0
Views: 1472
Reputation: 833
Try this:
http://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html#Execute%20Script
Then you should be able to pass your JavaScript to this function, e.g.
Execute Script document.getElementById("elementId").click()
Upvotes: 1