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

Still not working with selenium-webdriver 4.x, if installed with bundler #48

Open
pozabil opened this issue Oct 20, 2022 · 1 comment
Open

Comments

@pozabil
Copy link

pozabil commented Oct 20, 2022

Hello! Related to #44 and #45, I'm trying to use bundler to install capybara-webmock gem, but I'm still getting the next error:

  In Gemfile:
    capybara-webmock (~> 0.6.0) was resolved to 0.6.0, which depends on
      selenium-webdriver (~> 3.0)

    webdrivers was resolved to 5.0.0, which depends on
      selenium-webdriver (~> 4.0)

How can I fix this?

@mvz
Copy link
Contributor

mvz commented Nov 15, 2022

It looks like the reason there is no new release is because the tests are failing. @dillonhafer is that correct?

I can't see the logs anymore, but I'm guessing the problem is that selenium-webdriver 4 does not support Ruby 2.5. There are two options:

  1. drop support for Ruby 2.5 (this seems the sensible solution)
  2. allow selenium-webdriver >= 3.0 and add a version check in the initalization code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants