Module: Selenium::DevTools

Defined in:
lib/selenium/devtools.rb,
lib/selenium/devtools/v85.rb,
lib/selenium/devtools/v129.rb,
lib/selenium/devtools/v130.rb,
lib/selenium/devtools/v131.rb,
lib/selenium/devtools/v85/io.rb,
lib/selenium/devtools/v129/io.rb,
lib/selenium/devtools/v130/io.rb,
lib/selenium/devtools/v131/io.rb,
lib/selenium/devtools/v85/css.rb,
lib/selenium/devtools/v85/dom.rb,
lib/selenium/devtools/v85/log.rb,
lib/selenium/devtools/version.rb,
lib/selenium/devtools/v129/css.rb,
lib/selenium/devtools/v129/dom.rb,
lib/selenium/devtools/v129/log.rb,
lib/selenium/devtools/v129/pwa.rb,
lib/selenium/devtools/v130/css.rb,
lib/selenium/devtools/v130/dom.rb,
lib/selenium/devtools/v130/log.rb,
lib/selenium/devtools/v130/pwa.rb,
lib/selenium/devtools/v131/css.rb,
lib/selenium/devtools/v131/dom.rb,
lib/selenium/devtools/v131/log.rb,
lib/selenium/devtools/v131/pwa.rb,
lib/selenium/devtools/v85/cast.rb,
lib/selenium/devtools/v85/page.rb,
lib/selenium/devtools/v129/cast.rb,
lib/selenium/devtools/v129/page.rb,
lib/selenium/devtools/v130/cast.rb,
lib/selenium/devtools/v130/page.rb,
lib/selenium/devtools/v131/cast.rb,
lib/selenium/devtools/v131/page.rb,
lib/selenium/devtools/v85/fetch.rb,
lib/selenium/devtools/v85/input.rb,
lib/selenium/devtools/v85/media.rb,
lib/selenium/devtools/v129/fetch.rb,
lib/selenium/devtools/v129/input.rb,
lib/selenium/devtools/v129/media.rb,
lib/selenium/devtools/v130/fetch.rb,
lib/selenium/devtools/v130/input.rb,
lib/selenium/devtools/v130/media.rb,
lib/selenium/devtools/v131/fetch.rb,
lib/selenium/devtools/v131/input.rb,
lib/selenium/devtools/v131/media.rb,
lib/selenium/devtools/v85/audits.rb,
lib/selenium/devtools/v85/memory.rb,
lib/selenium/devtools/v85/schema.rb,
lib/selenium/devtools/v85/target.rb,
lib/selenium/devtools/v129/audits.rb,
lib/selenium/devtools/v129/fed_cm.rb,
lib/selenium/devtools/v129/memory.rb,
lib/selenium/devtools/v129/schema.rb,
lib/selenium/devtools/v129/target.rb,
lib/selenium/devtools/v130/audits.rb,
lib/selenium/devtools/v130/fed_cm.rb,
lib/selenium/devtools/v130/memory.rb,
lib/selenium/devtools/v130/schema.rb,
lib/selenium/devtools/v130/target.rb,
lib/selenium/devtools/v131/audits.rb,
lib/selenium/devtools/v131/fed_cm.rb,
lib/selenium/devtools/v131/memory.rb,
lib/selenium/devtools/v131/schema.rb,
lib/selenium/devtools/v131/target.rb,
lib/selenium/devtools/v85/browser.rb,
lib/selenium/devtools/v85/console.rb,
lib/selenium/devtools/v85/network.rb,
lib/selenium/devtools/v85/overlay.rb,
lib/selenium/devtools/v85/runtime.rb,
lib/selenium/devtools/v85/storage.rb,
lib/selenium/devtools/v85/tracing.rb,
lib/selenium/devtools/v129/browser.rb,
lib/selenium/devtools/v129/console.rb,
lib/selenium/devtools/v129/network.rb,
lib/selenium/devtools/v129/overlay.rb,
lib/selenium/devtools/v129/preload.rb,
lib/selenium/devtools/v129/runtime.rb,
lib/selenium/devtools/v129/storage.rb,
lib/selenium/devtools/v129/tracing.rb,
lib/selenium/devtools/v130/browser.rb,
lib/selenium/devtools/v130/console.rb,
lib/selenium/devtools/v130/network.rb,
lib/selenium/devtools/v130/overlay.rb,
lib/selenium/devtools/v130/preload.rb,
lib/selenium/devtools/v130/runtime.rb,
lib/selenium/devtools/v130/storage.rb,
lib/selenium/devtools/v130/tracing.rb,
lib/selenium/devtools/v131/browser.rb,
lib/selenium/devtools/v131/console.rb,
lib/selenium/devtools/v131/network.rb,
lib/selenium/devtools/v131/overlay.rb,
lib/selenium/devtools/v131/preload.rb,
lib/selenium/devtools/v131/runtime.rb,
lib/selenium/devtools/v131/storage.rb,
lib/selenium/devtools/v131/tracing.rb,
lib/selenium/devtools/v85/database.rb,
lib/selenium/devtools/v85/debugger.rb,
lib/selenium/devtools/v85/profiler.rb,
lib/selenium/devtools/v85/security.rb,
lib/selenium/devtools/v129/autofill.rb,
lib/selenium/devtools/v129/database.rb,
lib/selenium/devtools/v129/debugger.rb,
lib/selenium/devtools/v129/profiler.rb,
lib/selenium/devtools/v129/security.rb,
lib/selenium/devtools/v130/autofill.rb,
lib/selenium/devtools/v130/database.rb,
lib/selenium/devtools/v130/debugger.rb,
lib/selenium/devtools/v130/profiler.rb,
lib/selenium/devtools/v130/security.rb,
lib/selenium/devtools/v131/autofill.rb,
lib/selenium/devtools/v131/database.rb,
lib/selenium/devtools/v131/debugger.rb,
lib/selenium/devtools/v131/profiler.rb,
lib/selenium/devtools/v131/security.rb,
lib/selenium/devtools/v85/animation.rb,
lib/selenium/devtools/v85/emulation.rb,
lib/selenium/devtools/v85/inspector.rb,
lib/selenium/devtools/v85/tethering.rb,
lib/selenium/devtools/v85/web_audio.rb,
lib/selenium/devtools/v85/web_authn.rb,
lib/selenium/devtools/v129/animation.rb,
lib/selenium/devtools/v129/emulation.rb,
lib/selenium/devtools/v129/inspector.rb,
lib/selenium/devtools/v129/tethering.rb,
lib/selenium/devtools/v129/web_audio.rb,
lib/selenium/devtools/v129/web_authn.rb,
lib/selenium/devtools/v130/animation.rb,
lib/selenium/devtools/v130/emulation.rb,
lib/selenium/devtools/v130/inspector.rb,
lib/selenium/devtools/v130/tethering.rb,
lib/selenium/devtools/v130/web_audio.rb,
lib/selenium/devtools/v130/web_authn.rb,
lib/selenium/devtools/v131/animation.rb,
lib/selenium/devtools/v131/emulation.rb,
lib/selenium/devtools/v131/inspector.rb,
lib/selenium/devtools/v131/tethering.rb,
lib/selenium/devtools/v131/web_audio.rb,
lib/selenium/devtools/v131/web_authn.rb,
lib/selenium/devtools/v85/indexed_db.rb,
lib/selenium/devtools/v85/layer_tree.rb,
lib/selenium/devtools/v129/extensions.rb,
lib/selenium/devtools/v129/indexed_db.rb,
lib/selenium/devtools/v129/layer_tree.rb,
lib/selenium/devtools/v130/extensions.rb,
lib/selenium/devtools/v130/indexed_db.rb,
lib/selenium/devtools/v130/layer_tree.rb,
lib/selenium/devtools/v131/extensions.rb,
lib/selenium/devtools/v131/indexed_db.rb,
lib/selenium/devtools/v131/layer_tree.rb,
lib/selenium/devtools/v85/dom_storage.rb,
lib/selenium/devtools/v85/performance.rb,
lib/selenium/devtools/v85/system_info.rb,
lib/selenium/devtools/v129/dom_storage.rb,
lib/selenium/devtools/v129/file_system.rb,
lib/selenium/devtools/v129/performance.rb,
lib/selenium/devtools/v129/system_info.rb,
lib/selenium/devtools/v130/dom_storage.rb,
lib/selenium/devtools/v130/file_system.rb,
lib/selenium/devtools/v130/performance.rb,
lib/selenium/devtools/v130/system_info.rb,
lib/selenium/devtools/v131/dom_storage.rb,
lib/selenium/devtools/v131/file_system.rb,
lib/selenium/devtools/v131/performance.rb,
lib/selenium/devtools/v131/system_info.rb,
lib/selenium/devtools/v85/dom_debugger.rb,
lib/selenium/devtools/v85/dom_snapshot.rb,
lib/selenium/devtools/v129/dom_debugger.rb,
lib/selenium/devtools/v129/dom_snapshot.rb,
lib/selenium/devtools/v130/dom_debugger.rb,
lib/selenium/devtools/v130/dom_snapshot.rb,
lib/selenium/devtools/v131/dom_debugger.rb,
lib/selenium/devtools/v131/dom_snapshot.rb,
lib/selenium/devtools/v85/accessibility.rb,
lib/selenium/devtools/v85/cache_storage.rb,
lib/selenium/devtools/v85/heap_profiler.rb,
lib/selenium/devtools/v129/accessibility.rb,
lib/selenium/devtools/v129/cache_storage.rb,
lib/selenium/devtools/v129/device_access.rb,
lib/selenium/devtools/v129/heap_profiler.rb,
lib/selenium/devtools/v130/accessibility.rb,
lib/selenium/devtools/v130/cache_storage.rb,
lib/selenium/devtools/v130/device_access.rb,
lib/selenium/devtools/v130/heap_profiler.rb,
lib/selenium/devtools/v131/accessibility.rb,
lib/selenium/devtools/v131/cache_storage.rb,
lib/selenium/devtools/v131/device_access.rb,
lib/selenium/devtools/v131/heap_profiler.rb,
lib/selenium/devtools/v85/service_worker.rb,
lib/selenium/devtools/v129/service_worker.rb,
lib/selenium/devtools/v130/service_worker.rb,
lib/selenium/devtools/v131/service_worker.rb,
lib/selenium/devtools/v85/application_cache.rb,
lib/selenium/devtools/v129/event_breakpoints.rb,
lib/selenium/devtools/v130/event_breakpoints.rb,
lib/selenium/devtools/v131/event_breakpoints.rb,
lib/selenium/devtools/v85/background_service.rb,
lib/selenium/devtools/v85/device_orientation.rb,
lib/selenium/devtools/v129/background_service.rb,
lib/selenium/devtools/v129/device_orientation.rb,
lib/selenium/devtools/v130/background_service.rb,
lib/selenium/devtools/v130/device_orientation.rb,
lib/selenium/devtools/v131/background_service.rb,
lib/selenium/devtools/v131/device_orientation.rb,
lib/selenium/devtools/v129/bluetooth_emulation.rb,
lib/selenium/devtools/v130/bluetooth_emulation.rb,
lib/selenium/devtools/v131/bluetooth_emulation.rb,
lib/selenium/devtools/v129/performance_timeline.rb,
lib/selenium/devtools/v130/performance_timeline.rb,
lib/selenium/devtools/v131/performance_timeline.rb,
lib/selenium/devtools/v85/headless_experimental.rb,
lib/selenium/devtools/v129/headless_experimental.rb,
lib/selenium/devtools/v130/headless_experimental.rb,
lib/selenium/devtools/v131/headless_experimental.rb

Defined Under Namespace

Modules: V129, V130, V131, V85

Constant Summary collapse

VERSION =
'0.131.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.versionObject

Returns the value of attribute version.



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

def version
  @version
end

Class Method Details

.load_versionObject



25
26
27
28
29
30
31
# File '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