selenium-devtools 0.100.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/{v98 → v101}/accessibility.rb +3 -4
- data/lib/selenium/devtools/{v97 → v101}/animation.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/audits.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/browser.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/cast.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/console.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/css.rb +14 -2
- data/lib/selenium/devtools/{v96 → v101}/database.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/dom.rb +5 -4
- data/lib/selenium/devtools/{v96 → v101}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/emulation.rb +8 -4
- data/lib/selenium/devtools/{v97 → v101}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/input.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/io.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/log.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/media.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/memory.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/network.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/page.rb +5 -4
- data/lib/selenium/devtools/{v96 → v101}/performance.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/runtime.rb +7 -2
- data/lib/selenium/devtools/{v97 → v101}/schema.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/security.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/storage.rb +14 -2
- data/lib/selenium/devtools/{v98 → v101}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/target.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v101.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +3 -2
- metadata +52 -144
- data/lib/selenium/devtools/v96/accessibility.rb +0 -76
- data/lib/selenium/devtools/v96/animation.rb +0 -94
- data/lib/selenium/devtools/v96/audits.rb +0 -62
- data/lib/selenium/devtools/v96/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v96/cast.rb +0 -66
- data/lib/selenium/devtools/v96/console.rb +0 -53
- data/lib/selenium/devtools/v96/css.rb +0 -182
- data/lib/selenium/devtools/v96/debugger.rb +0 -220
- data/lib/selenium/devtools/v96/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v96/dom.rb +0 -334
- data/lib/selenium/devtools/v96/dom_snapshot.rb +0 -63
- data/lib/selenium/devtools/v96/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v96/emulation.rb +0 -197
- data/lib/selenium/devtools/v96/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v96/heap_profiler.rb +0 -105
- data/lib/selenium/devtools/v96/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v96/inspector.rb +0 -51
- data/lib/selenium/devtools/v96/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v96/log.rb +0 -62
- data/lib/selenium/devtools/v96/media.rb +0 -53
- data/lib/selenium/devtools/v96/memory.rb +0 -82
- data/lib/selenium/devtools/v96/network.rb +0 -262
- data/lib/selenium/devtools/v96/page.rb +0 -393
- data/lib/selenium/devtools/v96/performance_timeline.rb +0 -46
- data/lib/selenium/devtools/v96/profiler.rb +0 -95
- data/lib/selenium/devtools/v96/runtime.rb +0 -194
- data/lib/selenium/devtools/v96/schema.rb +0 -42
- data/lib/selenium/devtools/v96/security.rb +0 -67
- data/lib/selenium/devtools/v96/system_info.rb +0 -46
- data/lib/selenium/devtools/v96/target.rb +0 -145
- data/lib/selenium/devtools/v96/web_authn.rb +0 -96
- data/lib/selenium/devtools/v96.rb +0 -1
- data/lib/selenium/devtools/v97/accessibility.rb +0 -76
- data/lib/selenium/devtools/v97/audits.rb +0 -62
- data/lib/selenium/devtools/v97/background_service.rb +0 -63
- data/lib/selenium/devtools/v97/browser.rb +0 -135
- data/lib/selenium/devtools/v97/cast.rb +0 -66
- data/lib/selenium/devtools/v97/css.rb +0 -182
- data/lib/selenium/devtools/v97/database.rb +0 -60
- data/lib/selenium/devtools/v97/debugger.rb +0 -220
- data/lib/selenium/devtools/v97/dom_debugger.rb +0 -94
- data/lib/selenium/devtools/v97/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v97/emulation.rb +0 -197
- data/lib/selenium/devtools/v97/fetch.rb +0 -103
- data/lib/selenium/devtools/v97/heap_profiler.rb +0 -105
- data/lib/selenium/devtools/v97/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v97/input.rb +0 -168
- data/lib/selenium/devtools/v97/inspector.rb +0 -51
- data/lib/selenium/devtools/v97/io.rb +0 -55
- data/lib/selenium/devtools/v97/log.rb +0 -62
- data/lib/selenium/devtools/v97/memory.rb +0 -82
- data/lib/selenium/devtools/v97/network.rb +0 -262
- data/lib/selenium/devtools/v97/overlay.rb +0 -202
- data/lib/selenium/devtools/v97/page.rb +0 -393
- data/lib/selenium/devtools/v97/performance.rb +0 -59
- data/lib/selenium/devtools/v97/performance_timeline.rb +0 -46
- data/lib/selenium/devtools/v97/security.rb +0 -67
- data/lib/selenium/devtools/v97/service_worker.rb +0 -112
- data/lib/selenium/devtools/v97/storage.rb +0 -106
- data/lib/selenium/devtools/v97/system_info.rb +0 -46
- data/lib/selenium/devtools/v97/target.rb +0 -145
- data/lib/selenium/devtools/v97/tethering.rb +0 -51
- data/lib/selenium/devtools/v97/tracing.rb +0 -75
- data/lib/selenium/devtools/v97/web_audio.rb +0 -66
- data/lib/selenium/devtools/v97/web_authn.rb +0 -96
- data/lib/selenium/devtools/v97.rb +0 -1
- data/lib/selenium/devtools/v98/animation.rb +0 -94
- data/lib/selenium/devtools/v98/background_service.rb +0 -63
- data/lib/selenium/devtools/v98/browser.rb +0 -135
- data/lib/selenium/devtools/v98/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v98/console.rb +0 -53
- data/lib/selenium/devtools/v98/database.rb +0 -60
- data/lib/selenium/devtools/v98/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v98/dom.rb +0 -334
- data/lib/selenium/devtools/v98/dom_debugger.rb +0 -94
- data/lib/selenium/devtools/v98/dom_snapshot.rb +0 -63
- data/lib/selenium/devtools/v98/event_breakpoints.rb +0 -48
- data/lib/selenium/devtools/v98/fetch.rb +0 -103
- data/lib/selenium/devtools/v98/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v98/input.rb +0 -168
- data/lib/selenium/devtools/v98/io.rb +0 -55
- data/lib/selenium/devtools/v98/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v98/media.rb +0 -53
- data/lib/selenium/devtools/v98/overlay.rb +0 -202
- data/lib/selenium/devtools/v98/performance.rb +0 -59
- data/lib/selenium/devtools/v98/profiler.rb +0 -95
- data/lib/selenium/devtools/v98/runtime.rb +0 -194
- data/lib/selenium/devtools/v98/schema.rb +0 -42
- data/lib/selenium/devtools/v98/service_worker.rb +0 -112
- data/lib/selenium/devtools/v98/storage.rb +0 -106
- data/lib/selenium/devtools/v98/tethering.rb +0 -51
- data/lib/selenium/devtools/v98/tracing.rb +0 -75
- data/lib/selenium/devtools/v98/web_audio.rb +0 -66
- data/lib/selenium/devtools/v98.rb +0 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class PerformanceTimeline
|
|
25
25
|
EVENTS = {
|
|
26
26
|
timeline_event_added: 'timelineEventAdded',
|
|
@@ -41,6 +41,6 @@ module Selenium
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
end # PerformanceTimeline
|
|
44
|
-
end #
|
|
44
|
+
end # V101
|
|
45
45
|
end # DevTools
|
|
46
46
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Profiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
|
@@ -90,6 +90,6 @@ module Selenium
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
end # Profiler
|
|
93
|
-
end #
|
|
93
|
+
end # V101
|
|
94
94
|
end # DevTools
|
|
95
95
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -188,7 +188,12 @@ module Selenium
|
|
|
188
188
|
name: name)
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
+
def get_exception_details(error_object_id:)
|
|
192
|
+
@devtools.send_cmd('Runtime.getExceptionDetails',
|
|
193
|
+
errorObjectId: error_object_id)
|
|
194
|
+
end
|
|
195
|
+
|
|
191
196
|
end # Runtime
|
|
192
|
-
end #
|
|
197
|
+
end # V101
|
|
193
198
|
end # DevTools
|
|
194
199
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Schema
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -37,6 +37,6 @@ module Selenium
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
end # Schema
|
|
40
|
-
end #
|
|
40
|
+
end # V101
|
|
41
41
|
end # DevTools
|
|
42
42
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Security
|
|
25
25
|
EVENTS = {
|
|
26
26
|
certificate_error: 'certificateError',
|
|
@@ -62,6 +62,6 @@ module Selenium
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
end # Security
|
|
65
|
-
end #
|
|
65
|
+
end # V101
|
|
66
66
|
end # DevTools
|
|
67
67
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class ServiceWorker
|
|
25
25
|
EVENTS = {
|
|
26
26
|
worker_error_reported: 'workerErrorReported',
|
|
@@ -107,6 +107,6 @@ module Selenium
|
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
end # ServiceWorker
|
|
110
|
-
end #
|
|
110
|
+
end # V101
|
|
111
111
|
end # DevTools
|
|
112
112
|
end # Selenium
|
|
@@ -20,13 +20,14 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
27
27
|
cache_storage_list_updated: 'cacheStorageListUpdated',
|
|
28
28
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
|
29
29
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
|
30
|
+
interest_group_accessed: 'interestGroupAccessed',
|
|
30
31
|
}.freeze
|
|
31
32
|
|
|
32
33
|
def initialize(devtools)
|
|
@@ -100,7 +101,18 @@ module Selenium
|
|
|
100
101
|
issuerOrigin: issuer_origin)
|
|
101
102
|
end
|
|
102
103
|
|
|
104
|
+
def get_interest_group_details(owner_origin:, name:)
|
|
105
|
+
@devtools.send_cmd('Storage.getInterestGroupDetails',
|
|
106
|
+
ownerOrigin: owner_origin,
|
|
107
|
+
name: name)
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def set_interest_group_tracking(enable:)
|
|
111
|
+
@devtools.send_cmd('Storage.setInterestGroupTracking',
|
|
112
|
+
enable: enable)
|
|
113
|
+
end
|
|
114
|
+
|
|
103
115
|
end # Storage
|
|
104
|
-
end #
|
|
116
|
+
end # V101
|
|
105
117
|
end # DevTools
|
|
106
118
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class SystemInfo
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -41,6 +41,6 @@ module Selenium
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
end # SystemInfo
|
|
44
|
-
end #
|
|
44
|
+
end # V101
|
|
45
45
|
end # DevTools
|
|
46
46
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Target
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attached_to_target: 'attachedToTarget',
|
|
@@ -141,6 +141,6 @@ module Selenium
|
|
|
141
141
|
end
|
|
142
142
|
|
|
143
143
|
end # Target
|
|
144
|
-
end #
|
|
144
|
+
end # V101
|
|
145
145
|
end # DevTools
|
|
146
146
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Tethering
|
|
25
25
|
EVENTS = {
|
|
26
26
|
accepted: 'accepted',
|
|
@@ -46,6 +46,6 @@ module Selenium
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
end # Tethering
|
|
49
|
-
end #
|
|
49
|
+
end # V101
|
|
50
50
|
end # DevTools
|
|
51
51
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class Tracing
|
|
25
25
|
EVENTS = {
|
|
26
26
|
buffer_usage: 'bufferUsage',
|
|
@@ -70,6 +70,6 @@ module Selenium
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
end # Tracing
|
|
73
|
-
end #
|
|
73
|
+
end # V101
|
|
74
74
|
end # DevTools
|
|
75
75
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class WebAudio
|
|
25
25
|
EVENTS = {
|
|
26
26
|
context_created: 'contextCreated',
|
|
@@ -61,6 +61,6 @@ module Selenium
|
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
end # WebAudio
|
|
64
|
-
end #
|
|
64
|
+
end # V101
|
|
65
65
|
end # DevTools
|
|
66
66
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V101
|
|
24
24
|
class WebAuthn
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -91,6 +91,6 @@ module Selenium
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
end # WebAuthn
|
|
94
|
-
end #
|
|
94
|
+
end # V101
|
|
95
95
|
end # DevTools
|
|
96
96
|
end # Selenium
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v101/*", &method(:require))
|
data/selenium-devtools.gemspec
CHANGED
|
@@ -23,11 +23,12 @@ Gem::Specification.new do |s|
|
|
|
23
23
|
s.homepage = 'https://selenium.dev'
|
|
24
24
|
s.metadata = {
|
|
25
25
|
'changelog_uri' => 'https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES',
|
|
26
|
-
'source_code_uri' => 'https://github.com/SeleniumHQ/selenium/tree/trunk/rb'
|
|
26
|
+
'source_code_uri' => 'https://github.com/SeleniumHQ/selenium/tree/trunk/rb',
|
|
27
|
+
'rubygems_mfa_required' => 'true'
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
s.required_rubygems_version = Gem::Requirement.new('> 1.3.1') if s.respond_to? :required_rubygems_version=
|
|
30
|
-
s.required_ruby_version = Gem::Requirement.new('>= 2.
|
|
31
|
+
s.required_ruby_version = Gem::Requirement.new('>= 2.7')
|
|
31
32
|
|
|
32
33
|
s.files = [
|
|
33
34
|
'LICENSE',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: selenium-devtools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.101.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Rodionov
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2022-
|
|
13
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: websocket
|
|
@@ -89,6 +89,53 @@ files:
|
|
|
89
89
|
- lib/selenium/devtools/v100/tracing.rb
|
|
90
90
|
- lib/selenium/devtools/v100/web_audio.rb
|
|
91
91
|
- lib/selenium/devtools/v100/web_authn.rb
|
|
92
|
+
- lib/selenium/devtools/v101.rb
|
|
93
|
+
- lib/selenium/devtools/v101/accessibility.rb
|
|
94
|
+
- lib/selenium/devtools/v101/animation.rb
|
|
95
|
+
- lib/selenium/devtools/v101/audits.rb
|
|
96
|
+
- lib/selenium/devtools/v101/background_service.rb
|
|
97
|
+
- lib/selenium/devtools/v101/browser.rb
|
|
98
|
+
- lib/selenium/devtools/v101/cache_storage.rb
|
|
99
|
+
- lib/selenium/devtools/v101/cast.rb
|
|
100
|
+
- lib/selenium/devtools/v101/console.rb
|
|
101
|
+
- lib/selenium/devtools/v101/css.rb
|
|
102
|
+
- lib/selenium/devtools/v101/database.rb
|
|
103
|
+
- lib/selenium/devtools/v101/debugger.rb
|
|
104
|
+
- lib/selenium/devtools/v101/device_orientation.rb
|
|
105
|
+
- lib/selenium/devtools/v101/dom.rb
|
|
106
|
+
- lib/selenium/devtools/v101/dom_debugger.rb
|
|
107
|
+
- lib/selenium/devtools/v101/dom_snapshot.rb
|
|
108
|
+
- lib/selenium/devtools/v101/dom_storage.rb
|
|
109
|
+
- lib/selenium/devtools/v101/emulation.rb
|
|
110
|
+
- lib/selenium/devtools/v101/event_breakpoints.rb
|
|
111
|
+
- lib/selenium/devtools/v101/fetch.rb
|
|
112
|
+
- lib/selenium/devtools/v101/headless_experimental.rb
|
|
113
|
+
- lib/selenium/devtools/v101/heap_profiler.rb
|
|
114
|
+
- lib/selenium/devtools/v101/indexed_db.rb
|
|
115
|
+
- lib/selenium/devtools/v101/input.rb
|
|
116
|
+
- lib/selenium/devtools/v101/inspector.rb
|
|
117
|
+
- lib/selenium/devtools/v101/io.rb
|
|
118
|
+
- lib/selenium/devtools/v101/layer_tree.rb
|
|
119
|
+
- lib/selenium/devtools/v101/log.rb
|
|
120
|
+
- lib/selenium/devtools/v101/media.rb
|
|
121
|
+
- lib/selenium/devtools/v101/memory.rb
|
|
122
|
+
- lib/selenium/devtools/v101/network.rb
|
|
123
|
+
- lib/selenium/devtools/v101/overlay.rb
|
|
124
|
+
- lib/selenium/devtools/v101/page.rb
|
|
125
|
+
- lib/selenium/devtools/v101/performance.rb
|
|
126
|
+
- lib/selenium/devtools/v101/performance_timeline.rb
|
|
127
|
+
- lib/selenium/devtools/v101/profiler.rb
|
|
128
|
+
- lib/selenium/devtools/v101/runtime.rb
|
|
129
|
+
- lib/selenium/devtools/v101/schema.rb
|
|
130
|
+
- lib/selenium/devtools/v101/security.rb
|
|
131
|
+
- lib/selenium/devtools/v101/service_worker.rb
|
|
132
|
+
- lib/selenium/devtools/v101/storage.rb
|
|
133
|
+
- lib/selenium/devtools/v101/system_info.rb
|
|
134
|
+
- lib/selenium/devtools/v101/target.rb
|
|
135
|
+
- lib/selenium/devtools/v101/tethering.rb
|
|
136
|
+
- lib/selenium/devtools/v101/tracing.rb
|
|
137
|
+
- lib/selenium/devtools/v101/web_audio.rb
|
|
138
|
+
- lib/selenium/devtools/v101/web_authn.rb
|
|
92
139
|
- lib/selenium/devtools/v85.rb
|
|
93
140
|
- lib/selenium/devtools/v85/accessibility.rb
|
|
94
141
|
- lib/selenium/devtools/v85/animation.rb
|
|
@@ -135,146 +182,6 @@ files:
|
|
|
135
182
|
- lib/selenium/devtools/v85/tracing.rb
|
|
136
183
|
- lib/selenium/devtools/v85/web_audio.rb
|
|
137
184
|
- lib/selenium/devtools/v85/web_authn.rb
|
|
138
|
-
- lib/selenium/devtools/v96.rb
|
|
139
|
-
- lib/selenium/devtools/v96/accessibility.rb
|
|
140
|
-
- lib/selenium/devtools/v96/animation.rb
|
|
141
|
-
- lib/selenium/devtools/v96/audits.rb
|
|
142
|
-
- lib/selenium/devtools/v96/background_service.rb
|
|
143
|
-
- lib/selenium/devtools/v96/browser.rb
|
|
144
|
-
- lib/selenium/devtools/v96/cache_storage.rb
|
|
145
|
-
- lib/selenium/devtools/v96/cast.rb
|
|
146
|
-
- lib/selenium/devtools/v96/console.rb
|
|
147
|
-
- lib/selenium/devtools/v96/css.rb
|
|
148
|
-
- lib/selenium/devtools/v96/database.rb
|
|
149
|
-
- lib/selenium/devtools/v96/debugger.rb
|
|
150
|
-
- lib/selenium/devtools/v96/device_orientation.rb
|
|
151
|
-
- lib/selenium/devtools/v96/dom.rb
|
|
152
|
-
- lib/selenium/devtools/v96/dom_debugger.rb
|
|
153
|
-
- lib/selenium/devtools/v96/dom_snapshot.rb
|
|
154
|
-
- lib/selenium/devtools/v96/dom_storage.rb
|
|
155
|
-
- lib/selenium/devtools/v96/emulation.rb
|
|
156
|
-
- lib/selenium/devtools/v96/fetch.rb
|
|
157
|
-
- lib/selenium/devtools/v96/headless_experimental.rb
|
|
158
|
-
- lib/selenium/devtools/v96/heap_profiler.rb
|
|
159
|
-
- lib/selenium/devtools/v96/indexed_db.rb
|
|
160
|
-
- lib/selenium/devtools/v96/input.rb
|
|
161
|
-
- lib/selenium/devtools/v96/inspector.rb
|
|
162
|
-
- lib/selenium/devtools/v96/io.rb
|
|
163
|
-
- lib/selenium/devtools/v96/layer_tree.rb
|
|
164
|
-
- lib/selenium/devtools/v96/log.rb
|
|
165
|
-
- lib/selenium/devtools/v96/media.rb
|
|
166
|
-
- lib/selenium/devtools/v96/memory.rb
|
|
167
|
-
- lib/selenium/devtools/v96/network.rb
|
|
168
|
-
- lib/selenium/devtools/v96/overlay.rb
|
|
169
|
-
- lib/selenium/devtools/v96/page.rb
|
|
170
|
-
- lib/selenium/devtools/v96/performance.rb
|
|
171
|
-
- lib/selenium/devtools/v96/performance_timeline.rb
|
|
172
|
-
- lib/selenium/devtools/v96/profiler.rb
|
|
173
|
-
- lib/selenium/devtools/v96/runtime.rb
|
|
174
|
-
- lib/selenium/devtools/v96/schema.rb
|
|
175
|
-
- lib/selenium/devtools/v96/security.rb
|
|
176
|
-
- lib/selenium/devtools/v96/service_worker.rb
|
|
177
|
-
- lib/selenium/devtools/v96/storage.rb
|
|
178
|
-
- lib/selenium/devtools/v96/system_info.rb
|
|
179
|
-
- lib/selenium/devtools/v96/target.rb
|
|
180
|
-
- lib/selenium/devtools/v96/tethering.rb
|
|
181
|
-
- lib/selenium/devtools/v96/tracing.rb
|
|
182
|
-
- lib/selenium/devtools/v96/web_audio.rb
|
|
183
|
-
- lib/selenium/devtools/v96/web_authn.rb
|
|
184
|
-
- lib/selenium/devtools/v97.rb
|
|
185
|
-
- lib/selenium/devtools/v97/accessibility.rb
|
|
186
|
-
- lib/selenium/devtools/v97/animation.rb
|
|
187
|
-
- lib/selenium/devtools/v97/audits.rb
|
|
188
|
-
- lib/selenium/devtools/v97/background_service.rb
|
|
189
|
-
- lib/selenium/devtools/v97/browser.rb
|
|
190
|
-
- lib/selenium/devtools/v97/cache_storage.rb
|
|
191
|
-
- lib/selenium/devtools/v97/cast.rb
|
|
192
|
-
- lib/selenium/devtools/v97/console.rb
|
|
193
|
-
- lib/selenium/devtools/v97/css.rb
|
|
194
|
-
- lib/selenium/devtools/v97/database.rb
|
|
195
|
-
- lib/selenium/devtools/v97/debugger.rb
|
|
196
|
-
- lib/selenium/devtools/v97/device_orientation.rb
|
|
197
|
-
- lib/selenium/devtools/v97/dom.rb
|
|
198
|
-
- lib/selenium/devtools/v97/dom_debugger.rb
|
|
199
|
-
- lib/selenium/devtools/v97/dom_snapshot.rb
|
|
200
|
-
- lib/selenium/devtools/v97/dom_storage.rb
|
|
201
|
-
- lib/selenium/devtools/v97/emulation.rb
|
|
202
|
-
- lib/selenium/devtools/v97/event_breakpoints.rb
|
|
203
|
-
- lib/selenium/devtools/v97/fetch.rb
|
|
204
|
-
- lib/selenium/devtools/v97/headless_experimental.rb
|
|
205
|
-
- lib/selenium/devtools/v97/heap_profiler.rb
|
|
206
|
-
- lib/selenium/devtools/v97/indexed_db.rb
|
|
207
|
-
- lib/selenium/devtools/v97/input.rb
|
|
208
|
-
- lib/selenium/devtools/v97/inspector.rb
|
|
209
|
-
- lib/selenium/devtools/v97/io.rb
|
|
210
|
-
- lib/selenium/devtools/v97/layer_tree.rb
|
|
211
|
-
- lib/selenium/devtools/v97/log.rb
|
|
212
|
-
- lib/selenium/devtools/v97/media.rb
|
|
213
|
-
- lib/selenium/devtools/v97/memory.rb
|
|
214
|
-
- lib/selenium/devtools/v97/network.rb
|
|
215
|
-
- lib/selenium/devtools/v97/overlay.rb
|
|
216
|
-
- lib/selenium/devtools/v97/page.rb
|
|
217
|
-
- lib/selenium/devtools/v97/performance.rb
|
|
218
|
-
- lib/selenium/devtools/v97/performance_timeline.rb
|
|
219
|
-
- lib/selenium/devtools/v97/profiler.rb
|
|
220
|
-
- lib/selenium/devtools/v97/runtime.rb
|
|
221
|
-
- lib/selenium/devtools/v97/schema.rb
|
|
222
|
-
- lib/selenium/devtools/v97/security.rb
|
|
223
|
-
- lib/selenium/devtools/v97/service_worker.rb
|
|
224
|
-
- lib/selenium/devtools/v97/storage.rb
|
|
225
|
-
- lib/selenium/devtools/v97/system_info.rb
|
|
226
|
-
- lib/selenium/devtools/v97/target.rb
|
|
227
|
-
- lib/selenium/devtools/v97/tethering.rb
|
|
228
|
-
- lib/selenium/devtools/v97/tracing.rb
|
|
229
|
-
- lib/selenium/devtools/v97/web_audio.rb
|
|
230
|
-
- lib/selenium/devtools/v97/web_authn.rb
|
|
231
|
-
- lib/selenium/devtools/v98.rb
|
|
232
|
-
- lib/selenium/devtools/v98/accessibility.rb
|
|
233
|
-
- lib/selenium/devtools/v98/animation.rb
|
|
234
|
-
- lib/selenium/devtools/v98/audits.rb
|
|
235
|
-
- lib/selenium/devtools/v98/background_service.rb
|
|
236
|
-
- lib/selenium/devtools/v98/browser.rb
|
|
237
|
-
- lib/selenium/devtools/v98/cache_storage.rb
|
|
238
|
-
- lib/selenium/devtools/v98/cast.rb
|
|
239
|
-
- lib/selenium/devtools/v98/console.rb
|
|
240
|
-
- lib/selenium/devtools/v98/css.rb
|
|
241
|
-
- lib/selenium/devtools/v98/database.rb
|
|
242
|
-
- lib/selenium/devtools/v98/debugger.rb
|
|
243
|
-
- lib/selenium/devtools/v98/device_orientation.rb
|
|
244
|
-
- lib/selenium/devtools/v98/dom.rb
|
|
245
|
-
- lib/selenium/devtools/v98/dom_debugger.rb
|
|
246
|
-
- lib/selenium/devtools/v98/dom_snapshot.rb
|
|
247
|
-
- lib/selenium/devtools/v98/dom_storage.rb
|
|
248
|
-
- lib/selenium/devtools/v98/emulation.rb
|
|
249
|
-
- lib/selenium/devtools/v98/event_breakpoints.rb
|
|
250
|
-
- lib/selenium/devtools/v98/fetch.rb
|
|
251
|
-
- lib/selenium/devtools/v98/headless_experimental.rb
|
|
252
|
-
- lib/selenium/devtools/v98/heap_profiler.rb
|
|
253
|
-
- lib/selenium/devtools/v98/indexed_db.rb
|
|
254
|
-
- lib/selenium/devtools/v98/input.rb
|
|
255
|
-
- lib/selenium/devtools/v98/inspector.rb
|
|
256
|
-
- lib/selenium/devtools/v98/io.rb
|
|
257
|
-
- lib/selenium/devtools/v98/layer_tree.rb
|
|
258
|
-
- lib/selenium/devtools/v98/log.rb
|
|
259
|
-
- lib/selenium/devtools/v98/media.rb
|
|
260
|
-
- lib/selenium/devtools/v98/memory.rb
|
|
261
|
-
- lib/selenium/devtools/v98/network.rb
|
|
262
|
-
- lib/selenium/devtools/v98/overlay.rb
|
|
263
|
-
- lib/selenium/devtools/v98/page.rb
|
|
264
|
-
- lib/selenium/devtools/v98/performance.rb
|
|
265
|
-
- lib/selenium/devtools/v98/performance_timeline.rb
|
|
266
|
-
- lib/selenium/devtools/v98/profiler.rb
|
|
267
|
-
- lib/selenium/devtools/v98/runtime.rb
|
|
268
|
-
- lib/selenium/devtools/v98/schema.rb
|
|
269
|
-
- lib/selenium/devtools/v98/security.rb
|
|
270
|
-
- lib/selenium/devtools/v98/service_worker.rb
|
|
271
|
-
- lib/selenium/devtools/v98/storage.rb
|
|
272
|
-
- lib/selenium/devtools/v98/system_info.rb
|
|
273
|
-
- lib/selenium/devtools/v98/target.rb
|
|
274
|
-
- lib/selenium/devtools/v98/tethering.rb
|
|
275
|
-
- lib/selenium/devtools/v98/tracing.rb
|
|
276
|
-
- lib/selenium/devtools/v98/web_audio.rb
|
|
277
|
-
- lib/selenium/devtools/v98/web_authn.rb
|
|
278
185
|
- lib/selenium/devtools/v99.rb
|
|
279
186
|
- lib/selenium/devtools/v99/accessibility.rb
|
|
280
187
|
- lib/selenium/devtools/v99/animation.rb
|
|
@@ -330,6 +237,7 @@ licenses:
|
|
|
330
237
|
metadata:
|
|
331
238
|
changelog_uri: https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES
|
|
332
239
|
source_code_uri: https://github.com/SeleniumHQ/selenium/tree/trunk/rb
|
|
240
|
+
rubygems_mfa_required: 'true'
|
|
333
241
|
post_install_message:
|
|
334
242
|
rdoc_options: []
|
|
335
243
|
require_paths:
|
|
@@ -338,14 +246,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
338
246
|
requirements:
|
|
339
247
|
- - ">="
|
|
340
248
|
- !ruby/object:Gem::Version
|
|
341
|
-
version: '2.
|
|
249
|
+
version: '2.7'
|
|
342
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
251
|
requirements:
|
|
344
252
|
- - ">"
|
|
345
253
|
- !ruby/object:Gem::Version
|
|
346
254
|
version: 1.3.1
|
|
347
255
|
requirements: []
|
|
348
|
-
rubygems_version: 3.0.3
|
|
256
|
+
rubygems_version: 3.0.3.1
|
|
349
257
|
signing_key:
|
|
350
258
|
specification_version: 4
|
|
351
259
|
summary: DevTools Code for use with Selenium
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Licensed to the Software Freedom Conservancy (SFC) under one
|
|
4
|
-
# or more contributor license agreements. See the NOTICE file
|
|
5
|
-
# distributed with this work for additional information
|
|
6
|
-
# regarding copyright ownership. The SFC licenses this file
|
|
7
|
-
# to you under the Apache License, Version 2.0 (the
|
|
8
|
-
# "License"); you may not use this file except in compliance
|
|
9
|
-
# with the License. You may obtain a copy of the License at
|
|
10
|
-
#
|
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
#
|
|
13
|
-
# Unless required by applicable law or agreed to in writing,
|
|
14
|
-
# software distributed under the License is distributed on an
|
|
15
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
16
|
-
# KIND, either express or implied. See the License for the
|
|
17
|
-
# specific language governing permissions and limitations
|
|
18
|
-
# under the License.
|
|
19
|
-
|
|
20
|
-
# This file is automatically generated. Any changes will be lost!
|
|
21
|
-
module Selenium
|
|
22
|
-
module DevTools
|
|
23
|
-
module V96
|
|
24
|
-
class Accessibility
|
|
25
|
-
|
|
26
|
-
def initialize(devtools)
|
|
27
|
-
@devtools = devtools
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
def on(event, &block)
|
|
31
|
-
event = EVENTS[event] if event.is_a?(Symbol)
|
|
32
|
-
@devtools.callbacks["Accessibility.#{event}"] << block
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def disable
|
|
36
|
-
@devtools.send_cmd('Accessibility.disable')
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def enable
|
|
40
|
-
@devtools.send_cmd('Accessibility.enable')
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
def get_partial_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, fetch_relatives: nil)
|
|
44
|
-
@devtools.send_cmd('Accessibility.getPartialAXTree',
|
|
45
|
-
nodeId: node_id,
|
|
46
|
-
backendNodeId: backend_node_id,
|
|
47
|
-
objectId: object_id,
|
|
48
|
-
fetchRelatives: fetch_relatives)
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
def get_full_ax_tree(depth: nil, max_depth: nil, frame_id: nil)
|
|
52
|
-
@devtools.send_cmd('Accessibility.getFullAXTree',
|
|
53
|
-
depth: depth,
|
|
54
|
-
max_depth: max_depth,
|
|
55
|
-
frameId: frame_id)
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def get_child_ax_nodes(id:, frame_id: nil)
|
|
59
|
-
@devtools.send_cmd('Accessibility.getChildAXNodes',
|
|
60
|
-
id: id,
|
|
61
|
-
frameId: frame_id)
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
|
|
65
|
-
@devtools.send_cmd('Accessibility.queryAXTree',
|
|
66
|
-
nodeId: node_id,
|
|
67
|
-
backendNodeId: backend_node_id,
|
|
68
|
-
objectId: object_id,
|
|
69
|
-
accessibleName: accessible_name,
|
|
70
|
-
role: role)
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
end # Accessibility
|
|
74
|
-
end # V96
|
|
75
|
-
end # DevTools
|
|
76
|
-
end # Selenium
|