-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
clear_local_storage
and clear_session_storage
are deprecated in Selenium
#2779
Comments
See also the previously-opened issue (#2772) and a proposed PR (#2773). For my own purposes, I'm just ignoring those warnings for now: # In my spec_helper where I'm already configuring the Capybara driver
Selenium::WebDriver.logger.ignore(:clear_local_storage, :clear_session_storage) |
shepmaster
added a commit
to rust-lang/rust-playground
that referenced
this issue
Nov 24, 2024
Upstream issue: teamcapybara/capybara#2779
shepmaster
added a commit
to rust-lang/rust-playground
that referenced
this issue
Nov 24, 2024
Upstream issue: teamcapybara/capybara#2779
camillevilla
added a commit
to department-of-veterans-affairs/diffusion-marketplace
that referenced
this issue
Nov 28, 2024
camillevilla
added a commit
to department-of-veterans-affairs/diffusion-marketplace
that referenced
this issue
Nov 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
clear_local_storage
andclear_session_storage
methods are deprecated in the latest version of Selenium. Capybara calls them, e.g. https://github.com/teamcapybara/capybara/blob/3.40.0/lib/capybara/selenium/driver.rb#L371Expected Behavior
No deprecation warnings.
Actual Behavior
Steps to reproduce
Run any Capybara spec which uses Selenium 4.25 where the session is reset.
The text was updated successfully, but these errors were encountered: