selenium-devtools 0.104.0 → 0.106.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/{v103 → v105}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/animation.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/audits.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/browser.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/cast.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/console.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/css.rb +9 -2
- data/lib/selenium/devtools/{v103 → v105}/database.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/debugger.rb +18 -6
- data/lib/selenium/devtools/{v102 → v105}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/dom.rb +7 -2
- data/lib/selenium/devtools/{v103 → v105}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v103 → v105}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/input.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/io.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/log.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/media.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/memory.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/network.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/page.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/performance.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/schema.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/security.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/storage.rb +13 -2
- data/lib/selenium/devtools/{v103 → v105}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/target.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v102 → v105}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v103 → v105}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v105.rb +1 -0
- data/lib/selenium/devtools/{v102 → v106}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/animation.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/audits.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/browser.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/cast.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/console.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/css.rb +9 -2
- data/lib/selenium/devtools/{v102 → v106}/database.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/debugger.rb +18 -6
- data/lib/selenium/devtools/{v103 → v106}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/dom.rb +7 -2
- data/lib/selenium/devtools/{v102 → v106}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/dom_storage.rb +2 -7
- data/lib/selenium/devtools/{v102 → v106}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v102 → v106}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v102 → v106}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v103 → v106}/input.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/io.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/log.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/media.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/memory.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/network.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/page.rb +3 -4
- data/lib/selenium/devtools/{v103 → v106}/performance.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/schema.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/security.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/storage.rb +23 -2
- data/lib/selenium/devtools/{v102 → v106}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/target.rb +14 -10
- data/lib/selenium/devtools/{v103 → v106}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v103 → v106}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v102 → v106}/web_authn.rb +5 -4
- data/lib/selenium/devtools/v106.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +97 -97
- data/lib/selenium/devtools/v102.rb +0 -1
- data/lib/selenium/devtools/v103.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 V105
|
|
24
24
|
class Performance
|
|
25
25
|
EVENTS = {
|
|
26
26
|
metrics: 'metrics',
|
|
@@ -54,6 +54,6 @@ module Selenium
|
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
end # Performance
|
|
57
|
-
end #
|
|
57
|
+
end # V105
|
|
58
58
|
end # DevTools
|
|
59
59
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -196,6 +196,6 @@ module Selenium
|
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
end # Runtime
|
|
199
|
-
end #
|
|
199
|
+
end # V105
|
|
200
200
|
end # DevTools
|
|
201
201
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
111
111
|
end # DevTools
|
|
112
112
|
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 V105
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -39,12 +39,23 @@ module Selenium
|
|
|
39
39
|
@devtools.callbacks["Storage.#{event}"] << block
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
def get_storage_key_for_frame(frame_id:)
|
|
43
|
+
@devtools.send_cmd('Storage.getStorageKeyForFrame',
|
|
44
|
+
frameId: frame_id)
|
|
45
|
+
end
|
|
46
|
+
|
|
42
47
|
def clear_data_for_origin(origin:, storage_types:)
|
|
43
48
|
@devtools.send_cmd('Storage.clearDataForOrigin',
|
|
44
49
|
origin: origin,
|
|
45
50
|
storageTypes: storage_types)
|
|
46
51
|
end
|
|
47
52
|
|
|
53
|
+
def clear_data_for_storage_key(storage_key:, storage_types:)
|
|
54
|
+
@devtools.send_cmd('Storage.clearDataForStorageKey',
|
|
55
|
+
storageKey: storage_key,
|
|
56
|
+
storageTypes: storage_types)
|
|
57
|
+
end
|
|
58
|
+
|
|
48
59
|
def get_cookies(browser_context_id: nil)
|
|
49
60
|
@devtools.send_cmd('Storage.getCookies',
|
|
50
61
|
browserContextId: browser_context_id)
|
|
@@ -113,6 +124,6 @@ module Selenium
|
|
|
113
124
|
end
|
|
114
125
|
|
|
115
126
|
end # Storage
|
|
116
|
-
end #
|
|
127
|
+
end # V105
|
|
117
128
|
end # DevTools
|
|
118
129
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
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 # V105
|
|
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 V105
|
|
24
24
|
class WebAuthn
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -92,6 +92,6 @@ module Selenium
|
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
end # WebAuthn
|
|
95
|
-
end #
|
|
95
|
+
end # V105
|
|
96
96
|
end # DevTools
|
|
97
97
|
end # Selenium
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v105/*", &method(:require))
|
|
@@ -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 V106
|
|
24
24
|
class Accessibility
|
|
25
25
|
EVENTS = {
|
|
26
26
|
load_complete: 'loadComplete',
|
|
@@ -86,6 +86,6 @@ module Selenium
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
end # Accessibility
|
|
89
|
-
end #
|
|
89
|
+
end # V106
|
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
24
24
|
class Cast
|
|
25
25
|
EVENTS = {
|
|
26
26
|
sinks_updated: 'sinksUpdated',
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # Cast
|
|
69
|
-
end #
|
|
69
|
+
end # V106
|
|
70
70
|
end # DevTools
|
|
71
71
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -153,6 +153,13 @@ module Selenium
|
|
|
153
153
|
text: text)
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
def set_scope_text(style_sheet_id:, range:, text:)
|
|
157
|
+
@devtools.send_cmd('CSS.setScopeText',
|
|
158
|
+
styleSheetId: style_sheet_id,
|
|
159
|
+
range: range,
|
|
160
|
+
text: text)
|
|
161
|
+
end
|
|
162
|
+
|
|
156
163
|
def set_rule_selector(style_sheet_id:, range:, selector:)
|
|
157
164
|
@devtools.send_cmd('CSS.setRuleSelector',
|
|
158
165
|
styleSheetId: style_sheet_id,
|
|
@@ -189,6 +196,6 @@ module Selenium
|
|
|
189
196
|
end
|
|
190
197
|
|
|
191
198
|
end # CSS
|
|
192
|
-
end #
|
|
199
|
+
end # V106
|
|
193
200
|
end # DevTools
|
|
194
201
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -79,6 +79,16 @@ module Selenium
|
|
|
79
79
|
scriptId: script_id)
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
def disassemble_wasm_module(script_id:)
|
|
83
|
+
@devtools.send_cmd('Debugger.disassembleWasmModule',
|
|
84
|
+
scriptId: script_id)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def next_wasm_disassembly_chunk(stream_id:)
|
|
88
|
+
@devtools.send_cmd('Debugger.nextWasmDisassemblyChunk',
|
|
89
|
+
streamId: stream_id)
|
|
90
|
+
end
|
|
91
|
+
|
|
82
92
|
def get_wasm_bytecode(script_id:)
|
|
83
93
|
@devtools.send_cmd('Debugger.getWasmBytecode',
|
|
84
94
|
scriptId: script_id)
|
|
@@ -103,9 +113,10 @@ module Selenium
|
|
|
103
113
|
breakpointId: breakpoint_id)
|
|
104
114
|
end
|
|
105
115
|
|
|
106
|
-
def restart_frame(call_frame_id:)
|
|
116
|
+
def restart_frame(call_frame_id:, mode: nil)
|
|
107
117
|
@devtools.send_cmd('Debugger.restartFrame',
|
|
108
|
-
callFrameId: call_frame_id
|
|
118
|
+
callFrameId: call_frame_id,
|
|
119
|
+
mode: mode)
|
|
109
120
|
end
|
|
110
121
|
|
|
111
122
|
def resume(terminate_on_resume: nil)
|
|
@@ -179,11 +190,12 @@ module Selenium
|
|
|
179
190
|
newValue: new_value)
|
|
180
191
|
end
|
|
181
192
|
|
|
182
|
-
def set_script_source(script_id:, script_source:, dry_run: nil)
|
|
193
|
+
def set_script_source(script_id:, script_source:, dry_run: nil, allow_top_frame_editing: nil)
|
|
183
194
|
@devtools.send_cmd('Debugger.setScriptSource',
|
|
184
195
|
scriptId: script_id,
|
|
185
196
|
scriptSource: script_source,
|
|
186
|
-
dryRun: dry_run
|
|
197
|
+
dryRun: dry_run,
|
|
198
|
+
allowTopFrameEditing: allow_top_frame_editing)
|
|
187
199
|
end
|
|
188
200
|
|
|
189
201
|
def set_skip_all_pauses(skip:)
|
|
@@ -215,6 +227,6 @@ module Selenium
|
|
|
215
227
|
end
|
|
216
228
|
|
|
217
229
|
end # Debugger
|
|
218
|
-
end #
|
|
230
|
+
end # V106
|
|
219
231
|
end # DevTools
|
|
220
232
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -33,6 +33,7 @@ module Selenium
|
|
|
33
33
|
document_updated: 'documentUpdated',
|
|
34
34
|
inline_style_invalidated: 'inlineStyleInvalidated',
|
|
35
35
|
pseudo_element_added: 'pseudoElementAdded',
|
|
36
|
+
top_layer_elements_updated: 'topLayerElementsUpdated',
|
|
36
37
|
pseudo_element_removed: 'pseudoElementRemoved',
|
|
37
38
|
set_child_nodes: 'setChildNodes',
|
|
38
39
|
shadow_root_popped: 'shadowRootPopped',
|
|
@@ -214,6 +215,10 @@ module Selenium
|
|
|
214
215
|
selector: selector)
|
|
215
216
|
end
|
|
216
217
|
|
|
218
|
+
def get_top_layer_elements
|
|
219
|
+
@devtools.send_cmd('DOM.getTopLayerElements')
|
|
220
|
+
end
|
|
221
|
+
|
|
217
222
|
def redo
|
|
218
223
|
@devtools.send_cmd('DOM.redo')
|
|
219
224
|
end
|
|
@@ -330,6 +335,6 @@ module Selenium
|
|
|
330
335
|
end
|
|
331
336
|
|
|
332
337
|
end # DOM
|
|
333
|
-
end #
|
|
338
|
+
end # V106
|
|
334
339
|
end # DevTools
|
|
335
340
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
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 # V106
|
|
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 V106
|
|
24
24
|
class DOMStorage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -69,12 +69,7 @@ module Selenium
|
|
|
69
69
|
value: value)
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
def get_storage_key_for_frame(frame_id:)
|
|
73
|
-
@devtools.send_cmd('DOMStorage.getStorageKeyForFrame',
|
|
74
|
-
frameId: frame_id)
|
|
75
|
-
end
|
|
76
|
-
|
|
77
72
|
end # DOMStorage
|
|
78
|
-
end #
|
|
73
|
+
end # V106
|
|
79
74
|
end # DevTools
|
|
80
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 V106
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -182,6 +182,11 @@ module Selenium
|
|
|
182
182
|
imageTypes: image_types)
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
+
def set_hardware_concurrency_override(hardware_concurrency:)
|
|
186
|
+
@devtools.send_cmd('Emulation.setHardwareConcurrencyOverride',
|
|
187
|
+
hardwareConcurrency: hardware_concurrency)
|
|
188
|
+
end
|
|
189
|
+
|
|
185
190
|
def set_user_agent_override(user_agent:, accept_language: nil, platform: nil, user_agent_metadata: nil)
|
|
186
191
|
@devtools.send_cmd('Emulation.setUserAgentOverride',
|
|
187
192
|
userAgent: user_agent,
|
|
@@ -196,6 +201,6 @@ module Selenium
|
|
|
196
201
|
end
|
|
197
202
|
|
|
198
203
|
end # Emulation
|
|
199
|
-
end #
|
|
204
|
+
end # V106
|
|
200
205
|
end # DevTools
|
|
201
206
|
end # Selenium
|