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

Issue introduced after drop of HasWebStorage by selenium-webdriver in 4.30+ version #602

Closed
1 of 3 tasks
eirenik0 opened this issue Mar 25, 2025 · 3 comments · Fixed by #603
Closed
1 of 3 tasks

Comments

@eirenik0
Copy link

eirenik0 commented Mar 25, 2025

This is a

  • Bug report
  • Question
  • Feature Request

Summary

The authors of selenium-webdriver have removed deprecated HasWebStorage api. As in ruby_lib_core there is line where you include it it fails on import:

Failure/Error: require 'appium_lib'

NameError:
  uninitialized constant Selenium::WebDriver::DriverExtensions::HasWebStorage

          include ::Selenium::WebDriver::DriverExtensions::HasWebStorage
                                                         ^^^^^^^^^^^^^^^

Environment

  • ruby_lib_core version: all version affected
  • Mobile platform/version/device under test: doesn't matter

Actual behaviour and steps to reproduce

Just install selenium-webdriver 4.30+ and try to import appium_lib

@TestCentricity
Copy link

TestCentricity commented Mar 25, 2025

I can confirm that this issue occurs, but it was introduced with version 4.30 (not 2.30) of selenium-webdriver.

@eirenik0
Copy link
Author

@TestCentricity sorry, I've miswritten version. Updated original description

@eirenik0 eirenik0 changed the title Issue introduced after drop of HasWebStorage by selenium-webdriver in 2.30+ version Issue introduced after drop of HasWebStorage by selenium-webdriver in 4.30+ version Mar 26, 2025
@KazuCocoa
Copy link
Member

Thank you. Let me remove that.

https://github.com/SeleniumHQ/selenium/blob/d8f156bca812fc862f3fc2b66abd147b26199992/rb/CHANGES#L2011

Remove deprecated html 5 web storage features

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

Successfully merging a pull request may close this issue.

3 participants