appium / ruby_lib_core

Core library for the Ruby client
Apache License 2.0
31 stars 24 forks source link

fix: execute cdp for chrome session #470

Closed KazuCocoa closed 1 year ago

KazuCocoa commented 1 year ago
ERROR AppiumLibCoreTest::Android::Device::W3C::ExecuteCDPTest#test_execute_cdp_chrome (1.38s)
Minitest::UnexpectedError:         NoMethodError: undefined method `send_command' for #<Appium::Core::Base::Bridge:0x00007ff396051ba8>
        Did you mean?  add_command
                       test_command
            /Users/kazu/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/selenium-webdriver-4.9.0/lib/selenium/webdriver/common/driver_extensions/has_cdp.rb:31:in `execute_cdp'
            /Users/kazu/GitHub/ruby_lib_core/test/unit/android/device/w3c/execute_cdp_test.rb:49:in `test_execute_cdp_chrome'