selenium-devtools 0.94.0 → 0.98.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/README.md +14 -0
- data/lib/selenium/devtools/{v94 → v96}/accessibility.rb +4 -3
- data/lib/selenium/devtools/{v94 → v96}/animation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/audits.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/browser.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/cast.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/console.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/css.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/database.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/dom.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v94 → v96}/fetch.rb +11 -2
- data/lib/selenium/devtools/{v94 → v96}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/input.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/io.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/log.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/media.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/memory.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/network.rb +9 -2
- data/lib/selenium/devtools/{v93 → v96}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v94 → v96}/page.rb +6 -2
- data/lib/selenium/devtools/{v93 → v96}/performance.rb +2 -2
- data/lib/selenium/devtools/{v94 → v96}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v94 → v96}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v94 → v96}/schema.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/security.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/target.rb +8 -2
- data/lib/selenium/devtools/{v93 → v96}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v96.rb +1 -0
- data/lib/selenium/devtools/{v93 → v97}/accessibility.rb +9 -6
- data/lib/selenium/devtools/{v93 → v97}/animation.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/audits.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/browser.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/cast.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/console.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/css.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/database.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/dom.rb +7 -2
- data/lib/selenium/devtools/{v94 → v97}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/emulation.rb +7 -2
- data/lib/selenium/devtools/v97/event_breakpoints.rb +48 -0
- data/lib/selenium/devtools/{v93 → v97}/fetch.rb +14 -4
- data/lib/selenium/devtools/{v93 → v97}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/input.rb +11 -2
- data/lib/selenium/devtools/{v94 → v97}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/io.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/log.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/media.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/memory.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/network.rb +10 -3
- data/lib/selenium/devtools/{v94 → v97}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v93 → v97}/page.rb +16 -7
- data/lib/selenium/devtools/{v94 → v97}/performance.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v93 → v97}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v93 → v97}/schema.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/security.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/storage.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/target.rb +8 -2
- data/lib/selenium/devtools/{v94 → v97}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v97.rb +1 -0
- data/lib/selenium/devtools/v98/accessibility.rb +92 -0
- data/lib/selenium/devtools/v98/animation.rb +94 -0
- data/lib/selenium/devtools/v98/audits.rb +62 -0
- data/lib/selenium/devtools/v98/background_service.rb +63 -0
- data/lib/selenium/devtools/v98/browser.rb +135 -0
- data/lib/selenium/devtools/v98/cache_storage.rb +69 -0
- data/lib/selenium/devtools/v98/cast.rb +71 -0
- data/lib/selenium/devtools/v98/console.rb +53 -0
- data/lib/selenium/devtools/v98/css.rb +182 -0
- data/lib/selenium/devtools/v98/database.rb +60 -0
- data/lib/selenium/devtools/v98/debugger.rb +220 -0
- data/lib/selenium/devtools/v98/device_orientation.rb +49 -0
- data/lib/selenium/devtools/v98/dom.rb +334 -0
- data/lib/selenium/devtools/v98/dom_debugger.rb +94 -0
- data/lib/selenium/devtools/v98/dom_snapshot.rb +63 -0
- data/lib/selenium/devtools/v98/dom_storage.rb +75 -0
- data/lib/selenium/devtools/v98/emulation.rb +197 -0
- data/lib/selenium/devtools/v98/event_breakpoints.rb +48 -0
- data/lib/selenium/devtools/v98/fetch.rb +103 -0
- data/lib/selenium/devtools/v98/headless_experimental.rb +57 -0
- data/lib/selenium/devtools/v98/heap_profiler.rb +105 -0
- data/lib/selenium/devtools/v98/indexed_db.rb +96 -0
- data/lib/selenium/devtools/v98/input.rb +168 -0
- data/lib/selenium/devtools/v98/inspector.rb +51 -0
- data/lib/selenium/devtools/v98/io.rb +55 -0
- data/lib/selenium/devtools/v98/layer_tree.rb +91 -0
- data/lib/selenium/devtools/v98/log.rb +62 -0
- data/lib/selenium/devtools/v98/media.rb +53 -0
- data/lib/selenium/devtools/v98/memory.rb +82 -0
- data/lib/selenium/devtools/v98/network.rb +264 -0
- data/lib/selenium/devtools/v98/overlay.rb +202 -0
- data/lib/selenium/devtools/v98/page.rb +393 -0
- data/lib/selenium/devtools/v98/performance.rb +59 -0
- data/lib/selenium/devtools/v98/performance_timeline.rb +46 -0
- data/lib/selenium/devtools/v98/profiler.rb +95 -0
- data/lib/selenium/devtools/v98/runtime.rb +194 -0
- data/lib/selenium/devtools/v98/schema.rb +42 -0
- data/lib/selenium/devtools/v98/security.rb +67 -0
- data/lib/selenium/devtools/v98/service_worker.rb +112 -0
- data/lib/selenium/devtools/v98/storage.rb +106 -0
- data/lib/selenium/devtools/v98/system_info.rb +46 -0
- data/lib/selenium/devtools/v98/target.rb +146 -0
- data/lib/selenium/devtools/v98/tethering.rb +51 -0
- data/lib/selenium/devtools/v98/tracing.rb +75 -0
- data/lib/selenium/devtools/v98/web_audio.rb +66 -0
- data/lib/selenium/devtools/v98/web_authn.rb +96 -0
- data/lib/selenium/devtools/v98.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +144 -97
- data/lib/selenium/devtools/v93/application_cache.rb +0 -60
- data/lib/selenium/devtools/v93.rb +0 -1
- data/lib/selenium/devtools/v94/application_cache.rb +0 -60
- data/lib/selenium/devtools/v94.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 848a85d29602f7654d1383fa0d6b0714762c369a73152220b149ce1095d85eea
|
4
|
+
data.tar.gz: 56f4ae41850460db1199540170ccd3921557a402847687121f2adaca7648a6f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b63733159c5472c4ffc343eb5879a805315b8af80355d40df13a4280683292c1c847b59d721de2334106f3e2cabc109cb5e2c134d150e415c3dd447e8a6efaf2
|
7
|
+
data.tar.gz: 8a42a8a2cd31b0052e4daaab8f72d19a0c01fcb4b95cd97de4cec864549221b0967170841681306800d580176f63a8ab51d789152ce9c35d4a0862e5dd878a70
|
data/LICENSE
CHANGED
@@ -187,7 +187,7 @@
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
188
188
|
identification within third-party archives.
|
189
189
|
|
190
|
-
Copyright
|
190
|
+
Copyright 2022 Software Freedom Conservancy (SFC)
|
191
191
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
193
193
|
you may not use this file except in compliance with the License.
|
data/NOTICE
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
Copyright 2011-
|
1
|
+
Copyright 2011-2022 Software Freedom Conservancy
|
2
2
|
Copyright 2004-2011 Selenium committers
|
@@ -0,0 +1,14 @@
|
|
1
|
+
### Adding support for new Chromium DevTools Protocol to the Ruby bindings
|
2
|
+
|
3
|
+
* Add the latest version number to `/rb/BUILD.bazel`
|
4
|
+
* Update `/rb/lib/selenium/devtools/version.rb` with the latest version number
|
5
|
+
|
6
|
+
### Releasing selenium-devtools gem
|
7
|
+
|
8
|
+
```shell
|
9
|
+
bazel build //rb:selenium-devtools
|
10
|
+
```
|
11
|
+
|
12
|
+
```shell
|
13
|
+
gem push bazel-bin/rb/selenium-devtools.gem
|
14
|
+
```
|
@@ -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 V96
|
24
24
|
class Accessibility
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -48,8 +48,9 @@ module Selenium
|
|
48
48
|
fetchRelatives: fetch_relatives)
|
49
49
|
end
|
50
50
|
|
51
|
-
def get_full_ax_tree(max_depth: nil, frame_id: nil)
|
51
|
+
def get_full_ax_tree(depth: nil, max_depth: nil, frame_id: nil)
|
52
52
|
@devtools.send_cmd('Accessibility.getFullAXTree',
|
53
|
+
depth: depth,
|
53
54
|
max_depth: max_depth,
|
54
55
|
frameId: frame_id)
|
55
56
|
end
|
@@ -70,6 +71,6 @@ module Selenium
|
|
70
71
|
end
|
71
72
|
|
72
73
|
end # Accessibility
|
73
|
-
end #
|
74
|
+
end # V96
|
74
75
|
end # DevTools
|
75
76
|
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 V96
|
24
24
|
class Animation
|
25
25
|
EVENTS = {
|
26
26
|
animation_canceled: 'animationCanceled',
|
@@ -89,6 +89,6 @@ module Selenium
|
|
89
89
|
end
|
90
90
|
|
91
91
|
end # Animation
|
92
|
-
end #
|
92
|
+
end # V96
|
93
93
|
end # DevTools
|
94
94
|
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 V96
|
24
24
|
class Audits
|
25
25
|
EVENTS = {
|
26
26
|
issue_added: 'issueAdded',
|
@@ -57,6 +57,6 @@ module Selenium
|
|
57
57
|
end
|
58
58
|
|
59
59
|
end # Audits
|
60
|
-
end #
|
60
|
+
end # V96
|
61
61
|
end # DevTools
|
62
62
|
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 V96
|
24
24
|
class BackgroundService
|
25
25
|
EVENTS = {
|
26
26
|
recording_state_changed: 'recordingStateChanged',
|
@@ -58,6 +58,6 @@ module Selenium
|
|
58
58
|
end
|
59
59
|
|
60
60
|
end # BackgroundService
|
61
|
-
end #
|
61
|
+
end # V96
|
62
62
|
end # DevTools
|
63
63
|
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 V96
|
24
24
|
class Browser
|
25
25
|
EVENTS = {
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
@@ -130,6 +130,6 @@ module Selenium
|
|
130
130
|
end
|
131
131
|
|
132
132
|
end # Browser
|
133
|
-
end #
|
133
|
+
end # V96
|
134
134
|
end # DevTools
|
135
135
|
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 V96
|
24
24
|
class CacheStorage
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -64,6 +64,6 @@ module Selenium
|
|
64
64
|
end
|
65
65
|
|
66
66
|
end # CacheStorage
|
67
|
-
end #
|
67
|
+
end # V96
|
68
68
|
end # DevTools
|
69
69
|
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 V96
|
24
24
|
class Cast
|
25
25
|
EVENTS = {
|
26
26
|
sinks_updated: 'sinksUpdated',
|
@@ -61,6 +61,6 @@ module Selenium
|
|
61
61
|
end
|
62
62
|
|
63
63
|
end # Cast
|
64
|
-
end #
|
64
|
+
end # V96
|
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 V96
|
24
24
|
class Console
|
25
25
|
EVENTS = {
|
26
26
|
message_added: 'messageAdded',
|
@@ -48,6 +48,6 @@ module Selenium
|
|
48
48
|
end
|
49
49
|
|
50
50
|
end # Console
|
51
|
-
end #
|
51
|
+
end # V96
|
52
52
|
end # DevTools
|
53
53
|
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 V96
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -177,6 +177,6 @@ module Selenium
|
|
177
177
|
end
|
178
178
|
|
179
179
|
end # CSS
|
180
|
-
end #
|
180
|
+
end # V96
|
181
181
|
end # DevTools
|
182
182
|
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 V96
|
24
24
|
class Database
|
25
25
|
EVENTS = {
|
26
26
|
add_database: 'addDatabase',
|
@@ -55,6 +55,6 @@ module Selenium
|
|
55
55
|
end
|
56
56
|
|
57
57
|
end # Database
|
58
|
-
end #
|
58
|
+
end # V96
|
59
59
|
end # DevTools
|
60
60
|
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 V96
|
24
24
|
class Debugger
|
25
25
|
EVENTS = {
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
@@ -215,6 +215,6 @@ module Selenium
|
|
215
215
|
end
|
216
216
|
|
217
217
|
end # Debugger
|
218
|
-
end #
|
218
|
+
end # V96
|
219
219
|
end # DevTools
|
220
220
|
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 V96
|
24
24
|
class DeviceOrientation
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -44,6 +44,6 @@ module Selenium
|
|
44
44
|
end
|
45
45
|
|
46
46
|
end # DeviceOrientation
|
47
|
-
end #
|
47
|
+
end # V96
|
48
48
|
end # DevTools
|
49
49
|
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 V96
|
24
24
|
class DOM
|
25
25
|
EVENTS = {
|
26
26
|
attribute_modified: 'attributeModified',
|
@@ -329,6 +329,6 @@ module Selenium
|
|
329
329
|
end
|
330
330
|
|
331
331
|
end # DOM
|
332
|
-
end #
|
332
|
+
end # V96
|
333
333
|
end # DevTools
|
334
334
|
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 V96
|
24
24
|
class DOMDebugger
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -89,6 +89,6 @@ module Selenium
|
|
89
89
|
end
|
90
90
|
|
91
91
|
end # DOMDebugger
|
92
|
-
end #
|
92
|
+
end # V96
|
93
93
|
end # DevTools
|
94
94
|
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 V96
|
24
24
|
class DOMSnapshot
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -58,6 +58,6 @@ module Selenium
|
|
58
58
|
end
|
59
59
|
|
60
60
|
end # DOMSnapshot
|
61
|
-
end #
|
61
|
+
end # V96
|
62
62
|
end # DevTools
|
63
63
|
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 V96
|
24
24
|
class DOMStorage
|
25
25
|
EVENTS = {
|
26
26
|
dom_storage_item_added: 'domStorageItemAdded',
|
@@ -70,6 +70,6 @@ module Selenium
|
|
70
70
|
end
|
71
71
|
|
72
72
|
end # DOMStorage
|
73
|
-
end #
|
73
|
+
end # V96
|
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 V96
|
24
24
|
class Emulation
|
25
25
|
EVENTS = {
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
@@ -56,6 +56,11 @@ module Selenium
|
|
56
56
|
enabled: enabled)
|
57
57
|
end
|
58
58
|
|
59
|
+
def set_auto_dark_mode_override(enabled: nil)
|
60
|
+
@devtools.send_cmd('Emulation.setAutoDarkModeOverride',
|
61
|
+
enabled: enabled)
|
62
|
+
end
|
63
|
+
|
59
64
|
def set_cpu_throttling_rate(rate:)
|
60
65
|
@devtools.send_cmd('Emulation.setCPUThrottlingRate',
|
61
66
|
rate: rate)
|
@@ -187,6 +192,6 @@ module Selenium
|
|
187
192
|
end
|
188
193
|
|
189
194
|
end # Emulation
|
190
|
-
end #
|
195
|
+
end # V96
|
191
196
|
end # DevTools
|
192
197
|
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 V96
|
24
24
|
class Fetch
|
25
25
|
EVENTS = {
|
26
26
|
request_paused: 'requestPaused',
|
@@ -78,6 +78,15 @@ module Selenium
|
|
78
78
|
authChallengeResponse: auth_challenge_response)
|
79
79
|
end
|
80
80
|
|
81
|
+
def continue_response(request_id:, response_code: nil, response_phrase: nil, response_headers: nil, binary_response_headers: nil)
|
82
|
+
@devtools.send_cmd('Fetch.continueResponse',
|
83
|
+
requestId: request_id,
|
84
|
+
responseCode: response_code,
|
85
|
+
responsePhrase: response_phrase,
|
86
|
+
responseHeaders: response_headers,
|
87
|
+
binaryResponseHeaders: binary_response_headers)
|
88
|
+
end
|
89
|
+
|
81
90
|
def get_response_body(request_id:)
|
82
91
|
@devtools.send_cmd('Fetch.getResponseBody',
|
83
92
|
requestId: request_id)
|
@@ -89,6 +98,6 @@ module Selenium
|
|
89
98
|
end
|
90
99
|
|
91
100
|
end # Fetch
|
92
|
-
end #
|
101
|
+
end # V96
|
93
102
|
end # DevTools
|
94
103
|
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 V96
|
24
24
|
class HeadlessExperimental
|
25
25
|
EVENTS = {
|
26
26
|
needs_begin_frames_changed: 'needsBeginFramesChanged',
|
@@ -52,6 +52,6 @@ module Selenium
|
|
52
52
|
end
|
53
53
|
|
54
54
|
end # HeadlessExperimental
|
55
|
-
end #
|
55
|
+
end # V96
|
56
56
|
end # DevTools
|
57
57
|
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 V96
|
24
24
|
class HeapProfiler
|
25
25
|
EVENTS = {
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
@@ -100,6 +100,6 @@ module Selenium
|
|
100
100
|
end
|
101
101
|
|
102
102
|
end # HeapProfiler
|
103
|
-
end #
|
103
|
+
end # V96
|
104
104
|
end # DevTools
|
105
105
|
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 V96
|
24
24
|
class IndexedDB
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -91,6 +91,6 @@ module Selenium
|
|
91
91
|
end
|
92
92
|
|
93
93
|
end # IndexedDB
|
94
|
-
end #
|
94
|
+
end # V96
|
95
95
|
end # DevTools
|
96
96
|
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 V96
|
24
24
|
class Input
|
25
25
|
EVENTS = {
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
@@ -163,6 +163,6 @@ module Selenium
|
|
163
163
|
end
|
164
164
|
|
165
165
|
end # Input
|
166
|
-
end #
|
166
|
+
end # V96
|
167
167
|
end # DevTools
|
168
168
|
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 V96
|
24
24
|
class Inspector
|
25
25
|
EVENTS = {
|
26
26
|
detached: 'detached',
|
@@ -46,6 +46,6 @@ module Selenium
|
|
46
46
|
end
|
47
47
|
|
48
48
|
end # Inspector
|
49
|
-
end #
|
49
|
+
end # V96
|
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 V96
|
24
24
|
class IO
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -50,6 +50,6 @@ module Selenium
|
|
50
50
|
end
|
51
51
|
|
52
52
|
end # IO
|
53
|
-
end #
|
53
|
+
end # V96
|
54
54
|
end # DevTools
|
55
55
|
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 V96
|
24
24
|
class LayerTree
|
25
25
|
EVENTS = {
|
26
26
|
layer_painted: 'layerPainted',
|
@@ -86,6 +86,6 @@ module Selenium
|
|
86
86
|
end
|
87
87
|
|
88
88
|
end # LayerTree
|
89
|
-
end #
|
89
|
+
end # V96
|
90
90
|
end # DevTools
|
91
91
|
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 V96
|
24
24
|
class Log
|
25
25
|
EVENTS = {
|
26
26
|
entry_added: 'entryAdded',
|
@@ -57,6 +57,6 @@ module Selenium
|
|
57
57
|
end
|
58
58
|
|
59
59
|
end # Log
|
60
|
-
end #
|
60
|
+
end # V96
|
61
61
|
end # DevTools
|
62
62
|
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 V96
|
24
24
|
class Media
|
25
25
|
EVENTS = {
|
26
26
|
player_properties_changed: 'playerPropertiesChanged',
|
@@ -48,6 +48,6 @@ module Selenium
|
|
48
48
|
end
|
49
49
|
|
50
50
|
end # Media
|
51
|
-
end #
|
51
|
+
end # V96
|
52
52
|
end # DevTools
|
53
53
|
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 V96
|
24
24
|
class Memory
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -77,6 +77,6 @@ module Selenium
|
|
77
77
|
end
|
78
78
|
|
79
79
|
end # Memory
|
80
|
-
end #
|
80
|
+
end # V96
|
81
81
|
end # DevTools
|
82
82
|
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 V96
|
24
24
|
class Network
|
25
25
|
EVENTS = {
|
26
26
|
data_received: 'dataReceived',
|
@@ -50,6 +50,8 @@ module Selenium
|
|
50
50
|
subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
|
51
51
|
subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
|
52
52
|
subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
|
53
|
+
reporting_api_report_added: 'reportingApiReportAdded',
|
54
|
+
reporting_api_report_updated: 'reportingApiReportUpdated',
|
53
55
|
}.freeze
|
54
56
|
|
55
57
|
def initialize(devtools)
|
@@ -242,6 +244,11 @@ module Selenium
|
|
242
244
|
frameId: frame_id)
|
243
245
|
end
|
244
246
|
|
247
|
+
def enable_reporting_api(enable:)
|
248
|
+
@devtools.send_cmd('Network.enableReportingApi',
|
249
|
+
enable: enable)
|
250
|
+
end
|
251
|
+
|
245
252
|
def load_network_resource(frame_id: nil, url:, options:)
|
246
253
|
@devtools.send_cmd('Network.loadNetworkResource',
|
247
254
|
frameId: frame_id,
|
@@ -250,6 +257,6 @@ module Selenium
|
|
250
257
|
end
|
251
258
|
|
252
259
|
end # Network
|
253
|
-
end #
|
260
|
+
end # V96
|
254
261
|
end # DevTools
|
255
262
|
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 V96
|
24
24
|
class Overlay
|
25
25
|
EVENTS = {
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
@@ -191,7 +191,12 @@ module Selenium
|
|
191
191
|
hingeConfig: hinge_config)
|
192
192
|
end
|
193
193
|
|
194
|
+
def set_show_isolated_elements(isolated_element_highlight_configs:)
|
195
|
+
@devtools.send_cmd('Overlay.setShowIsolatedElements',
|
196
|
+
isolatedElementHighlightConfigs: isolated_element_highlight_configs)
|
197
|
+
end
|
198
|
+
|
194
199
|
end # Overlay
|
195
|
-
end #
|
200
|
+
end # V96
|
196
201
|
end # DevTools
|
197
202
|
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 V96
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -135,6 +135,10 @@ module Selenium
|
|
135
135
|
@devtools.send_cmd('Page.getManifestIcons')
|
136
136
|
end
|
137
137
|
|
138
|
+
def get_app_id
|
139
|
+
@devtools.send_cmd('Page.getAppId')
|
140
|
+
end
|
141
|
+
|
138
142
|
def get_cookies
|
139
143
|
@devtools.send_cmd('Page.getCookies')
|
140
144
|
end
|
@@ -384,6 +388,6 @@ module Selenium
|
|
384
388
|
end
|
385
389
|
|
386
390
|
end # Page
|
387
|
-
end #
|
391
|
+
end # V96
|
388
392
|
end # DevTools
|
389
393
|
end # Selenium
|