Module: Selenium::DevTools

Defined in:
rb/lib/selenium/devtools.rb,
rb/lib/selenium/devtools/v85.rb,
rb/lib/selenium/devtools/v127.rb,
rb/lib/selenium/devtools/v128.rb,
rb/lib/selenium/devtools/v129.rb,
rb/lib/selenium/devtools/version.rb

Defined Under Namespace

Modules: V127, V128, V129, V85

Constant Summary collapse

VERSION =
'0.129.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.versionObject

Returns the value of attribute version.



23
24
25
# File 'rb/lib/selenium/devtools.rb', line 23

def version
  @version
end

Class Method Details

.load_versionObject



25
26
27
28
29
30
31
# File 'rb/lib/selenium/devtools.rb', line 25

def load_version
  require "selenium/devtools/v#{@version}"
rescue LoadError
  WebDriver.logger.warn "Could not load selenium-devtools v#{@version}. Trying older versions.",
                        id: :devtools
  load_older_version
end