Class: Selenium::WebDriver::Driver

Inherits:
Object
  • Object
show all
Defined in:
lib/driver.rb

Overview

patched class

Class Method Summary collapse

Class Method Details

.for(browser, opts = {}) ⇒ Object



13
14
15
# File 'lib/driver.rb', line 13

def for(browser, opts = {})
  browser == :tor ? Tor::Driver.new(**opts) : old_for(browser, opts)
end

.old_forObject



11
# File 'lib/driver.rb', line 11

alias old_for for