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

Remove Deprecated Warnings for WebStorage JS methods #2772

Open
bkleinen opened this issue Sep 2, 2024 · 0 comments
Open

Remove Deprecated Warnings for WebStorage JS methods #2772

bkleinen opened this issue Sep 2, 2024 · 0 comments

Comments

@bkleinen
Copy link

bkleinen commented Sep 2, 2024

Note: This is for issues with Capybara. If you have a howto type question, please ask on the mailing list as requested in the README: http://groups.google.com/group/ruby-capybara

Meta

Capybara Version: 3.40

Driver Information (and browser if relevant):
selenium-webdriver 2.53.4 with chrome -->

Expected Behavior

tests run without (too many) deprecation warnings

Actual Behavior

each tests outputs 2 deprecation warnings:

Steps to reproduce

run tests with chrome driver and selenium webdriver >= 4.24

Background & Fix

Selenium deprecated the local_storage and session_storage methods in Version 4.24, see:

https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES

and

SeleniumHQ/selenium@fc6c070

Will provide a PR which removes the calls to the respective methods.

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

1 participant