-
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
Getting error "WebDriverError: Invalid timeout type specified: ms" #4445
Comments
Same issue here |
@robertsmith2 Were you able to successfully run the tests earlier? I was able to, but all of a sudden i see this happening. I restarted my machine and clean installed at several places, but still see this happening. In the other VM machine that i have, i did not touch anything and the tests are running fine there. Not sure what could be the issue here. |
@moinuddin14 yeah IE was working a couple days ago. I upgraded from |
@robertsmith2 I have verified with 5.0.0 and with IE driver its working fine. Looks like with 5.1.2 its broken somehow. Protractor team can you please look into this issue. Tried to find within protractor code base from where this error is originating from but couldn't find the trace of this error. |
It's working fine for me till 5.0.0, and with 5.1.1 as well 5.1.2 it's throwing the error "WebDriverError: Invalid timeout type specified: ms" |
same problem here :-( |
Need to dive into it more in detail, but these are the changes between 5.1.1 and 5.1.2 |
Same issue here. conf.js
Error:
|
with protractor 5.0.0 it is working - the bug seems to be introduced with 5.1.0 (if I tested correctly) |
5.0.0 works for me locally hopefully works on release agent. |
Actually this must be somehow related to the selenium server being used for ie testing - I found out that it was once working for me with version 5.1.2 but with Selenium IEDriverServer Version 3.4.0 - and since that version changed to 3.5.0 it does not work anymore. I try now to install the older version of the server and hope that one is still gonna work with my IE version. 🙏 |
I got mine working with IEDriver 2.53.1 good luck @bruderol |
@robertsmith2 you mean IEDriver 2.53.1 with Protractor: 5.1.2 worked? Or did you used 5.0.0 for this? |
I had the same problem in IE. I figured out that selenium standalone server and IE driver got updated to 3.5.0. Try to downgrade the standalone server and IE to 3.4.0. This worked for me. |
Just using |
I had the same issue, but I managed it with this "webdriver-manager update --ie --versions.standalone 3.4.0 --versions.ie 3.4.0" command |
@bruderol, @Roman150 I tried your instruction, but when I run webdriver-manager start the logs start with this:
But when I look in the selenium folder I can see that the versions of standalone and ie driver are 3.4.0. Giving me an error when I run Protractor. What does your log looks like when you start webdriver-manager? |
Guys See here #4451 (comment) |
@wswebcreation How would you pin the version for a specific webdriver? I have removed and uninstalled webdriver-manager and I cannot seem to downgrade IE driver. |
Will check later today, come back to it |
@jbprat Try to start the webdriver manager with a specific version.
If we do not mention version webdriver will consider the latest version. I hope this will solve your issue. Total flow would be |
@jbprat, my logs was different from yours, your log starts with "java" ,check if java is present in classpath and java -version command in console return version of your jdk, tomorrow i can write you version of all my environment and drivers , and then you can compare all |
Thanks @Harish247 I did not know you could specify a version like that |
@wswebcreation @Roman150 @Harish247, Thank you for the details! |
What worked for me was: I had to start webdriver-manager with specific version because it was trying to load the latest version of standalone and driver, could not find it, and crashed. |
Tnx tot the feedback |
Any news on this issue? |
I have the same issue with: selenium-server-standalone-3.6.0 |
Still having this issue, is it expected of us to install a earlier version of the IE driver in order to keep 5.1.2, or does a later version of protractor solve this problem? |
Still having this issue with IEDriver 3.9 and Protractor 5.3 |
Any solution on this? |
I see this error consistently whenever I use SELENIUM_PROMISE_MANAGER: false with Internet Explorer. The same code works great in Chrome. Node v.8.10.0 |
Has anybody figured out why IEDriverServer 3.11.1 doesn't work? Downgrading to IEDriverServer 3.4.0 does the trick for me, but I'd really like to use the latest to see if any bugs I've been facing have been fixed in the later webdriver versions. Node v6.11.0 |
Today I also struggled with this issue with later webdriver versions than 3.4.0 , currently using 3.4.0 as workaround.. |
This error may come up when you make a webdriver request before other requests come back. Chromedriver has an internal queue to prevent multiple requests going out at once but IE lacks one or it is buggy. See this thread. It talks about getting 404s but in my experience it is sometimes this error instead. |
Hi
I have not made any changes to my tests but all of a sudden started seeing the below error on the console.
[12:19:49] E/runner - Unable to start a WebDriver session.
[12:19:49] E/launcher - Error: WebDriverError: Invalid timeout type specified: ms
Bug report
Unfortunately the entire code is inside vpn and cannot bring it outside VPN. Any help in this regard is appreciated.
The text was updated successfully, but these errors were encountered: