My Careers
Learning Notes
Labels
Java Tutorial
Manual Testing
QTP Tutorial
Selenium
Web Service
Saturday, 23 January 2016
Getting Error Message : org.openqa.selenium.WebDriverException: JavaScript error
Reason
:We are getting this exception because if any timeout issue for run java script executor.
Solution
:
driver.manage().timeouts().setScriptTimeout(30, TimeUnit.SECONDS)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment