In Selenium web-driver we know web-driver has 2 methods - (WebDriver::Element, ...) execute_async_script(script, *args) and (WebDriver::Element, ...) execute_script(script, *args). Now with the help of any code where "*args" would be web-driver::element, Can any explain the differences between them? In what situations we must use what ? Thanks
on 2013-02-07 21:52
on 2013-02-07 22:06
The documentation is here: http://selenium.googlecode.com/svn/trunk/docs/api/... Basically the async version doesn't wait for a return, your script continues to execute.