My Careers
Learning Notes
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
‹
›
Home
View web version
No comments:
Post a Comment