Hello, in previous chrome versions I was able to use proxy authentication using devtools with this code
options = Selenium::WebDriver::Chrome::Options.new
options.add_argument("--proxy-server=IP:PORT")
driver = Selenium::WebDriver.for :chrome, options: options
driver.devtools.new
driver.register(username: 'USER', password: 'PASSWORD')
But with new versions I'm getting this error
undefined method `devtools' for #<Selenium::WebDriver::Chrome::Driver:0x000002718782c170> (NoMethodError)
Can anyone help me understand how this work now? Not finding updated documentation about this
I also tried with this code and it still showing the undefined method 'devtools' error
require 'selenium/devtools'
Selenium::DevTools.version = 122
Selenium::DevTools.load_version
Thanks you