This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
IE Stability issue - WebDriverError #4325
Milestone
Comments
I reported this issue previously and it was closed with a reference to 4149. However, that reference is to a different issue. |
I can confirm the findings of OP. |
@AliZuhair-AI Are you using Selenium Server? How does Protractor connect to IE? |
@thorn0 I am using BrowserStack, which uses InternetExplorerDriver https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver |
@thorn0 You need do download and configure IE server file to connect it locally For running IE locally we need to have following binary in the path |
I have the same issues as OP. The first IE test fails in approximately every second test run. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Node version: 7.4.0
Protractor version: 5.1.1
Operating system: Windows 7
Browser: Internet Explorer 11
I recently upgraded to Protractor 5.1.1 and started to seeing this error show up occasionally:
WebDriverError: JavaScript error (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 49 milliseconds
It seems to be coming from the following code under *\lib\browser.ts
If I change the the line above from
if (err.code == 13 || err.name === 'JavascriptError')
to
if (err.code == 13 || err.name === 'JavascriptError' || err.name === WebDriverError)
then the problem goes away.
The text was updated successfully, but these errors were encountered: