lib/selenium/webdriver/firefox/driver.rb in selenium-webdriver-4.0.0.beta1 vs lib/selenium/webdriver/firefox/driver.rb in selenium-webdriver-4.0.0.beta2

- old
+ new

@@ -25,31 +25,24 @@ # Driver implementation for Firefox using GeckoDriver. # @api private # class Driver < WebDriver::Driver - include DriverExtensions::HasAddons - include DriverExtensions::HasDevTools - include DriverExtensions::HasLogEvents - include DriverExtensions::HasWebStorage - include DriverExtensions::PrintsPage + EXTENSIONS = [DriverExtensions::HasAddons, + DriverExtensions::HasDevTools, + DriverExtensions::HasLogEvents, + DriverExtensions::HasNetworkInterception, + DriverExtensions::HasWebStorage, + DriverExtensions::PrintsPage].freeze def browser :firefox end - def bridge_class - Bridge - end - private - def devtools_version - 85 - end - - def debugger_address - capabilities['moz:debuggerAddress'] + def devtools_address + "http://#{capabilities['moz:debuggerAddress']}" end end # Driver end # Firefox end # WebDriver end # Selenium