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.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.