-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Investigate selenium-webdriver 2.53.1 session getCapabilities error #3173
Comments
Hi @cnishina, how can I test it on my local environment? Because the build is not broken... Should I update it to be merged or you gonna work on this issue? I can take a look also. |
@pedrro To run this test:
Attach session:
To run the full suite, simply run If you want to take a stab at this, go for it. 👍 |
So, I made a quick test here and have some update: I made the rollback on the version of selenium-webdriver on package.json to version 2.52.0 and keep the update on version of selenium and iedriver inside config.json and the tests are running fine again. So, I have a question, have some relationship between the version of selenium-webdriver@package.json and the version of selenium@config.json? If the answer is no, I can update my PR #3172 to just consider the versions inside config.json and also we can create a issue on selenium repository to investigate it. What do you think? :D |
The selenium-webdriver in the package.json is the node api that helps make client calls. The selenium in the config.json is for the selenium server. If you leave the package.json version to 2.52.0, the PR is easy and can be approved. |
@cnishina Sure, I'll do that in some minutes. 👍 |
@cnishina https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md mentions some changes to the error type thrown when the session is invalid, possibly related. |
@juliemr Unfortunately, that was our fix for capabilities. This is something different. |
We should wait for 2.53.2+ to fix capabilities internet explorer nativeEvents=false. #3058 |
In the protractor constructor,
Where session object looks like:
It does not look like there is a method called getCapabilities on the session either. @juliemr I might need some help on this one. |
The issue was fixed with SeleniumHQ/selenium@a368fca We should skip 2.53.1 and wait for v2.53.2+. |
Selenium webdriver 2.53.2 is out! #3167 |
closes angular#3173, closes angular#3167, closes angular#3058
closes angular#3173, closes angular#3167, closes angular#3058
The test creates the session and fails. The session remains open.
When launching the protractor test manually (with the existing session):
The text was updated successfully, but these errors were encountered: