Navigation Menu

Skip to content
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

Error exception typo #1032

Closed
ghostwords opened this issue Oct 26, 2017 · 13 comments
Closed

Error exception typo #1032

ghostwords opened this issue Oct 26, 2017 · 13 comments

Comments

@ghostwords
Copy link

For example, an error message might look like "foo was not a the name of a known capability or a valid extension capability" (emphasis mine).

Following up on SeleniumHQ/selenium#3918.

System

  • Version: geckodriver v0.16.1
  • Platform: Ubuntu 14.04 (Travis)
  • Firefox: Mozilla Firefox 53.0
  • Selenium: Selenium Python bindings 3.4.0
@whimboo
Copy link
Collaborator

whimboo commented Nov 1, 2017

@ghostwords you are using a very outdated release of geckodriver. Does the same still show up when using geckodriver 0.19.1?

@ghostwords
Copy link
Author

We can't upgrade geckodriver (EFForg/privacybadger#1511) until we get it working with Firefox ESR (currently at 52). Is #835 the relevant issue in this repository? If so, it seems like we'll be waiting until ESR switches to 59 sometime in the spring of 2018.

@ghostwords
Copy link
Author

Regarding the typo, could you point me to where in the code this string might be found?

@whimboo
Copy link
Collaborator

whimboo commented Nov 1, 2017

No, because I cannot find it. But even looking at the source of 0.16 I have a hard time finding it. @andreastt, can we assume that this issue has already been fixed in the past?

@andreastt
Copy link
Contributor

I tried looking for it some time ago, but could not find the string anywhere in our source code. I’m rather confident this issue has been fixed already.

Unfortunately recent geckodriver versions do not support Firefox 52. I encourage you to upgrade to Firefox Nightly, since geckodriver is in a pre-release state.

@ghostwords
Copy link
Author

ghostwords commented Nov 1, 2017

We would like to test our add-on on all supported Firefox platforms, of which Firefox ESR is one. Unless I misunderstand you, it's not a matter of us upgrading; it's about testing on officially supported platforms that our users are on.

Firefox ESR is currently based on Firefox 52, an old but officially supported Firefox release. It is unfortunate geckodriver >= 0.18 does not support it.

@andreastt
Copy link
Contributor

As I said, because geckodriver is in a pre-release state we don’t support all released Firefox versions.

@whimboo
Copy link
Collaborator

whimboo commented Nov 2, 2017

Just to add some info here... The webdriver spec has been changed a lot in the past months, and is still not in the released state (it will most likely happen end of December). As result we had to change a lot in our code, which in some cases makes it very difficult to keep backward compatibility. We are sorry about, but the time investment for keeping compat with those old builds doesn't pay off.

Something you should consider is to use different versions of geckodriver. Given that you want to test all supported releases you could use 0.16 for Firefox esr52, and 0.19.1 for Firefox 56 and the upcoming 57 release.

When you had a chance to use the newest driver release let us know if this failure is still present for you. Maybe it's coming from somewhere else but not geckodriver. Thanks.

@ghostwords
Copy link
Author

Thank you for the explanation and the excellent suggestion! I'll let you know if I see the typo again. (I originally reported it to Selenium: SeleniumHQ/selenium#3918.)

@whimboo
Copy link
Collaborator

whimboo commented Nov 3, 2017

Ok, I had another look and indeed it's a spelling error in the webdriver crate:

https://dxr.mozilla.org/mozilla-central/rev/b5a3b8ef6902998507fc881b6d628b055457fe31/testing/webdriver/src/capabilities.rs#113

I filed bug 1414256 to get this fixed.

@whimboo whimboo reopened this Nov 3, 2017
@aldaris
Copy link

aldaris commented Nov 28, 2017

The corresponding Firefox bug is now resolved, probably this can be closed as well.

@whimboo whimboo closed this as completed Nov 28, 2017
@whimboo
Copy link
Collaborator

whimboo commented Nov 28, 2017

Thanks Peter for reminding me.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants