-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScriptTimeoutError: asynchronous script timeout: result was not received in 0 seconds #117
Comments
You can either call the |
should I update this in the document? This happens a lot to me |
Was it just |
is this the way to go? |
I had the same problem. My application takes a long time to load and I was getting timouts. Just add this code to your Protractor configuration file. Make sure you are using the latest version (0.10.0). onPrepare: function() {
// Override the timeout for webdriver.
ptor.driver.manage().timeouts().setScriptTimeout(60000);
}, |
yup it works for me. Thank you all. Is this issue is so common, can we put On Monday, 30 September 2013, Andres Dominguez wrote:
|
Added more clarification to the docs with a729e35 |
@juliemr - with latest versions of protractor, you may want to update the docs again by replacing
|
@juliemr , I've placed my browser.driver.manage().timeouts().setScriptTimeout in my beforeEach, but the timeout is not respected in the test. Here's example code that counts down 15 seconds, with a supposed 10 second timeout. The test counts down all of the way through 15 seconds without stopping/timing out. Can you advise? var baseFuncs = require("../../pages/ams.base.po.js"); |
I am getting a similar error could you please help me out. I tried the above options but I still see the issue. [18:00:34] E/plugins - ScriptTimeoutError: asynchronous script timeout: result was not received in 60 seconds |
I'm getting this error occasionally, making all previously-passed tests failed. I saw this code
driver.manage().timeouts().setScriptTimeout(5, TimeUnit.SECONDS);
fromhttp://stackoverflow.com/questions/11646586/unable-to-execute-selenium-asynchronous-script
but I don't know how to run something like that from my protractor test. How should I proceed with this?
The text was updated successfully, but these errors were encountered: