Skip to content

Commit d2b9e14

Browse files
chore(deps): update selenium-webdriver requirement from ~> 4.2, < 4.11 to ~> 4.2, < 4.12 (#489)
* chore(deps): update selenium-webdriver requirement from ~> 4.2, < 4.11 to ~> 4.2, < 4.12 Updates the requirements on [selenium-webdriver](https://github.com/SeleniumHQ/selenium) to permit the latest version. - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES) - [Commits](SeleniumHQ/selenium@selenium-4.2.0...selenium-4.11.0) --- updated-dependencies: - dependency-name: selenium-webdriver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * add reuire net/http --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>
1 parent 89379c6 commit d2b9e14

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

appium_lib_core.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
2222
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2323
spec.require_paths = ['lib']
2424

25-
spec.add_runtime_dependency 'selenium-webdriver', '~> 4.2', '< 4.11'
25+
spec.add_runtime_dependency 'selenium-webdriver', '~> 4.2', '< 4.12'
2626
spec.add_runtime_dependency 'faye-websocket', '~> 0.11.0'
2727

2828
spec.add_development_dependency 'rake', '~> 13.0'

lib/appium_lib_core/common/base/http_default.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# limitations under the License.
1414

1515
require 'securerandom'
16+
# to avoid mysterious resolution error 'uninitialized constant Selenium::WebDriver::Remote::Http::Default::Net (NameError)'
17+
require 'net/http'
1618

1719
require_relative '../../version'
1820

@@ -26,7 +28,7 @@ module RequestHeaders
2628
}.freeze
2729
end
2830

29-
class Default < Selenium::WebDriver::Remote::Http::Default
31+
class Default < ::Selenium::WebDriver::Remote::Http::Default
3032
attr_reader :additional_headers
3133

3234
# override

0 commit comments

Comments
 (0)