Skip to content

Remove Deprecated Warnings for WebStorage JS methods #2772

@bkleinen

Description

@bkleinen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions