-
Notifications
You must be signed in to change notification settings - Fork 2.3k
IE stability issue - occasional Javascript errors #841
Comments
Did you try increasing |
Yeah, it's interesting that it's not actually failing the timeout for the wait. The actual code being executed in the browser ( |
Weird, you get 9 ~ 10 failures on IE11 / IE10 |
Thanks for more data! Capturing the error I often get: { stack: null,
description: '\'window\' is undefined',
number: -2146823279 } EDIT - this doesn't seem to be the common cause |
Tried with windows 8 on saucelabs, didn't help. I didn't see the |
Live errors now out on Travis - https://travis-ci.org/angular/protractor/jobs/25825485 |
This should address #841 Ignoring the error and trying again has worked for all of my test cases, and the error has never occurred more than once in a row.
Tentatively closing after 0500b2c. Please comment or open a new issue if something like this crops up again! |
I'm randomly getting the same type of timeouts with Browser Stack. |
I should add:
https://gist.github.com/fakewaffle/f3b2ea0401ab815c27db |
@fakewaffle, same tests always pass in Chrome-BrowserStack* right? |
Yes, and Firefox. IE is hit or miss. |
I'm seeing similar errors, but on execute_async Selenium commands in IE. The weird thing is, digging through the IEDriver source shows that these timeouts are occurring in the browser, not in the Selenium stack. The only two causes I could think of were that either IEDriver is completely ignoring the timeouts requested by users (Causing scripts to timeout almost immediately) or the browser is having timekeeping problems. @fakewaffle Were your failing IE tests on BrowserStack? It'd be good to eliminate emulation problems from the equation (I'm seeing these errors on Sauce Labs). |
I'm getting err.code 17 on windows 10 / explorer 11 - seemingly the same cause? The messages logged are the same as described in this issue.. should |
The `err` object doesn't have the `code` property any more (Selenium Server Standalone 3.3.1 + IEDriver win32 3.3.0), so we need a new way to detect those errors. See #841
This error occurs almost 100% of the time in IE11 when there are adjacent It seems like the Javascript error does not get ignored in this case. A quick solution for this is to just use |
Example:
These happen during the wait for the page to load about 1% of the time.
The text was updated successfully, but these errors were encountered: