hashrocket / capybara-webmock

Mock external requests for Capybara JavaScript drivers
MIT License
51 stars 19 forks source link

Replace deprecated and removed File.exists? method with File.exist? #50

Closed mitchellhenke closed 1 year ago

mitchellhenke commented 1 year ago

File.exists? was deprecated in Ruby 2.1 and dropped in Ruby 3.2

This PR replaces the deprecated/removed method with the new method.

dillonhafer commented 1 year ago

Thank you! ⭐

rsl commented 1 year ago

is there an ETA on a gem release for this? or a plan for working around it? thanks.

karim-semmoud commented 1 year ago

@rsl Until a new version of the gem is released you can use gem "capybara-webmock", git: "https://github.com/hashrocket/capybara-webmock" You may also need to upgrade gem "selenium-webdriver", "~> 4.10.0"