June 2018
Beginner to intermediate
376 pages
8h 58m
English
This one is pretty simple really: it sets the amount of time that Selenium will wait for a bit of JavaScript to execute when you use the executeAsyncScript() method.
Errors in this area are normally due to callbacks not being invoked or, very occasionally, the script timeout being set to a negative number. It's normally pretty easy to diagnose these problems, as you will see an exception that looks like this:
org.openqa.selenium.TimeoutException: Script execution failed.
Read now
Unlock full access