appium / ruby_lib_core

Core library for the Ruby client
Apache License 2.0
32 stars 23 forks source link

chore(deps): update selenium-webdriver requirement from ~> 4.2, < 4.11 to ~> 4.2, < 4.12 #489

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Updates the requirements on selenium-webdriver to permit the latest version.

Release notes

Sourced from selenium-webdriver's releases.

Selenium 4.11.0

Changelog

For each component's detailed changelog, please check:

Commits in this release

  • 8b02c886cf - [rb] Bumping Selenium version :: Diego Molina
  • 0f2e1b1f25 - Fix docstring for removed arg (browser_profile) (#12174) :: Michael Mintz
  • cbaff758e2 - [dotnet] Improving .NET API docs :: Diego Molina
  • 85a0c67c64 - [dotnet] Leaving .NET API docs at root level :: Diego Molina
  • e45195e0ab - [dotnet] Updating DevTools tests to use CDP 114 :: Diego Molina
  • e55129e8e6 - Update mirror info (Thu Jun 8 00:17:05 UTC 2023) :: Selenium CI Bot
  • 3084d2b6b3 - [dotnet] Updating DevTools tests to use CDP 114 (2) :: Diego Molina
  • cc3b395887 - [rb] Updating year in Ruby docs :: Diego Molina
  • 8ace4ecca4 - [py] Adding draft configuration for ReadTheDocs :: Diego Molina
  • 38802986d2 - [py] Fixing path for docs conf :: Diego Molina
  • da3a82b46b - [java] Add Missing W3C Exceptions (#12175) :: Oscar Devora
  • fbb0996e45 - [py] Improving docs landing page. :: Diego Molina
  • 043bb18a9e - [dotnet] Implementation of event wrapped shadow root element (#12073) :: Nikolay Borisenko
  • ca9d41a0d5 - [py] removed redundant attributes capabilities and set_capability in wpewebkit/options.py (#12169) :: Sandeep Suryaprasad
  • a50bfe29a1 - [js][bidi] fix addPreloadScript failing tests (#12182) :: Tamsil Sajid Amani
  • 3dc8903766 - [py] instance attributes in Timeout class are now being set through setter… (#12186) :: Sandeep Suryaprasad
  • 505abc310f - [java] Drop the prefix created by Bazel (#12173) :: joerg1985
  • 7cfd137085 - [js] fix SeleniumServer.start() crashes on MacOS with nodejs selenium-webdriver (#12158) :: Hanbo Wang
  • 2ebfcd93ea - [py] mapped all error codes in errorhandler.py to corresponding exception object. (#12190) :: Sandeep Suryaprasad
  • 94e6fdf11d - Bump cryptography from 39.0.1 to 41.0.0 in /py (#12130) :: dependabot[bot]
  • 79e6378d27 - [dotnet] Include generation of support project (#12193) :: Nikolay Borisenko
  • cdfba2b1c9 - [JS] Update rules_nodejs to 5.8.3 :: Sriharsha
  • 4d70bd80f4 - [py] add more shortcuts to webdriver ini file (#12194) :: Titus Fortner
  • d1f1b6fa39 - [py] Fix BrowserError issues (#12150) :: Sebastian Meyer
  • ebb232fd03 - Run format.sh script :: Simon Mavi Stewart
  • 25dbacb014 - [js][bidi] add Network module events (#12197) :: Tamsil Sajid Amani
  • ab6e4f894d - [py] improve driver logging (#12103) :: Titus Fortner
  • 265e2f4202 - [java] Increased the max depth of new session payload (#12205) :: joerg1985
  • c3b226cebf - [rust] Use CfT endpoints to discover chromedriver 115+ (#12208) :: Boni García
  • eb2321327e - [java] Applying again changes from https://github.com/SeleniumHQ/selenium/commit/5c891ce374dd126b361c23864cee33bf3695053a :: Diego Molina
  • bf389143bf - [rust] Read browser_ttl and driver_ttl from CLI flags :: Boni Garcia
  • 7b9cb37648 - [java] Reading m2 user & pass from env vars where available :: Diego Molina
  • fc58eac32a - [java] Bumping to 4.11.0-SNAPSHOT :: Diego Molina
  • ad8921b59c - Adding Java to the nightly job :: Diego Molina

... (truncated)

Changelog

Sourced from selenium-webdriver's changelog.

4.11.0 (2023-07-31)

Ruby:

  • Made network interception threads fail silently (#12226)
  • Have Selenium Manager binary locate drivers on PATH (#12345)
  • Add browser output from selenium manager to options (#12398)
  • Remove deprecated code (#12417) BiDi:
  • Released selenium-devtools 0.115.0 (supports CDP v85, v113, v114, v115) Edge:
  • Adding ignore process match for IE Mode across bindings (#12279)

4.10.0 (2023-06-07)

Ruby:

  • Implement proxy support for Selenium Manager
  • Prevent setting driver log level in Safari
  • Change all Selenium Manager logging to :debug (#12145)
  • Error messages include links to documentation
  • Add custom error class for driver location and improve error logic

BiDi:

  • Released selenium-devtools 0.114.0 (supports CDP v85, v112, v113, v114)

Edge:

  • Add support for webview2

4.9.1 (2023-05-08)

Ruby:

  • Allow users to specify driver process output in Service class (#11964)
  • Updated minimum required Ruby version to 3.0
  • Selenium Logger defaults to :info and all debugging is now logged as :debug (#11967)
  • Every logging entry can be ignored based on ID, not just warnings
  • Logging entries can be filtered to allow or ignore specific IDs

BiDi:

  • Fix bug with loading devtools (#11931) (thanks Boris Petrov!)
  • Released selenium-devtools 0.113.0 (supports CDP v85, v111, v112, v113)

4.9.0 (2023-04-21)

Ruby:

  • Fix devtools version fallback (#11869)
  • Fix bug in selenium manager escaping back slashes in Windows (#11884)

BiDi:

  • Released selenium-devtools 0.112.0 (supports CDP v85, v110, v111, v112)

4.8.6 (2023-03-29)

... (truncated)

Commits
  • 5f77934 Updating change logs for 4.11.0
  • f3ab202 [rb] skip options with nil value
  • 5e39f36 [rb] redundant — asserting executable also asserts file
  • 0fa6c3f [rb] remove deprecated code (#12417)
  • 9fdeaa9 [rb] add browser output from selenium manager to options (#12398)
  • 2879d3e [cdp] add support for Chrome 115 and remove support for Chrome 112
  • 388f530 [rb] no longer need to require net/https separately
  • 0f5acf2 do not need an extra log message that manager is being used
  • 054467a [rb] have Selenium Manager binary locate drivers on PATH (#12345)
  • 2012243 [rb] Made network interception threads fail silently (#12226)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
KazuCocoa commented 11 months ago

Maybe something Ruby dependency stuff in this lib caused an error below:

Progress: |ERROR AppiumLibCoreTest::DriverTest#test_wait_until_true_driver (0.07s)
Minitest::UnexpectedError:         NameError: uninitialized constant Selenium::WebDriver::Remote::Http::Default::Net

                    req = Net::HTTP.const_get(verb.to_s.capitalize).new(url.path, headers)
                          ^^^
        Did you mean?  Set
            /Users/runner/work/1/s/vendor/bundle/ruby/3.1.0/gems/selenium-webdriver-4.11.0/lib/selenium/webdriver/remote/http/default.rb:108:in `new_request_for'
            /Users/runner/work/1/s/vendor/bundle/ruby/3.1.0/gems/selenium-webdriver-4.11.0/lib/selenium/webdriver/remote/http/default.rb:74:in `request'
            /Users/runner/work/1/s/lib/appium_lib_core/common/base/http_default.rb:64:in `request'
            /Users/runner/work/1/s/vendor/bundle/ruby/3.1.0/gems/selenium-webdriver-4.11.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
            /Users/runner/work/1/s/vendor/bundle/ruby/3.1.0/gems/selenium-webdriver-4.11.0/lib/selenium/webdriver/remote/bridge.rb:620:in `execute'
            /Users/runner/work/1/s/lib/appium_lib_core/common/base/bridge.rb:107:in `create_session'
            /Users/runner/work/1/s/lib/appium_lib_core/common/base/driver.rb:86:in `create_bridge'
            /Users/runner/work/1/s/lib/appium_lib_core/common/base/driver.rb:60:in `initialize'
            /Users/runner/work/1/s/lib/appium_lib_core/driver.rb:431:in `new'
            /Users/runner/work/1/s/lib/appium_lib_core/driver.rb:431:in `start_driver'
            /Users/runner/work/1/s/test/functional/ios/driver_test.rb:35:in `setup'