selenium-devtools 0.107.0 → 0.109.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/v107.rb +0 -0
- data/lib/selenium/devtools/{v106 → v108}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/animation.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/audits.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/browser.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/cast.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/console.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/css.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/database.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/dom.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/heap_profiler.rb +6 -4
- data/lib/selenium/devtools/{v106 → v108}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/input.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/io.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/log.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/media.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/memory.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/network.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/page.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/performance.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/profiler.rb +2 -14
- data/lib/selenium/devtools/{v106 → v108}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/schema.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/security.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/storage.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/target.rb +2 -2
- data/lib/selenium/devtools/{v106 → v108}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v108.rb +1 -0
- data/lib/selenium/devtools/{v105 → v109}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/animation.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/audits.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/browser.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/cast.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/console.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/css.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/database.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/dom.rb +6 -4
- data/lib/selenium/devtools/{v106 → v109}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/headless_experimental.rb +2 -5
- data/lib/selenium/devtools/{v105 → v109}/heap_profiler.rb +6 -4
- data/lib/selenium/devtools/{v105 → v109}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v105 → v109}/input.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/io.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/log.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/media.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/memory.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/network.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/page.rb +10 -4
- data/lib/selenium/devtools/{v106 → v109}/performance.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/profiler.rb +2 -14
- data/lib/selenium/devtools/{v105 → v109}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/schema.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/security.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/storage.rb +47 -2
- data/lib/selenium/devtools/{v105 → v109}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v105 → v109}/target.rb +14 -10
- data/lib/selenium/devtools/{v105 → v109}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/web_authn.rb +10 -2
- data/lib/selenium/devtools/v109.rb +1 -0
- data/lib/selenium/devtools/v85.rb +0 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +2 -1
- metadata +101 -101
- data/lib/selenium/devtools/README.md +0 -14
- data/lib/selenium/devtools/v105.rb +0 -1
- data/lib/selenium/devtools/v106.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 V109
|
24
24
|
class IndexedDB
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -32,22 +32,25 @@ module Selenium
|
|
32
32
|
@devtools.callbacks["IndexedDB.#{event}"] << block
|
33
33
|
end
|
34
34
|
|
35
|
-
def clear_object_store(security_origin
|
35
|
+
def clear_object_store(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
|
36
36
|
@devtools.send_cmd('IndexedDB.clearObjectStore',
|
37
37
|
securityOrigin: security_origin,
|
38
|
+
storageKey: storage_key,
|
38
39
|
databaseName: database_name,
|
39
40
|
objectStoreName: object_store_name)
|
40
41
|
end
|
41
42
|
|
42
|
-
def delete_database(security_origin
|
43
|
+
def delete_database(security_origin: nil, storage_key: nil, database_name:)
|
43
44
|
@devtools.send_cmd('IndexedDB.deleteDatabase',
|
44
45
|
securityOrigin: security_origin,
|
46
|
+
storageKey: storage_key,
|
45
47
|
databaseName: database_name)
|
46
48
|
end
|
47
49
|
|
48
|
-
def delete_object_store_entries(security_origin
|
50
|
+
def delete_object_store_entries(security_origin: nil, storage_key: nil, database_name:, object_store_name:, key_range:)
|
49
51
|
@devtools.send_cmd('IndexedDB.deleteObjectStoreEntries',
|
50
52
|
securityOrigin: security_origin,
|
53
|
+
storageKey: storage_key,
|
51
54
|
databaseName: database_name,
|
52
55
|
objectStoreName: object_store_name,
|
53
56
|
keyRange: key_range)
|
@@ -61,9 +64,10 @@ module Selenium
|
|
61
64
|
@devtools.send_cmd('IndexedDB.enable')
|
62
65
|
end
|
63
66
|
|
64
|
-
def request_data(security_origin
|
67
|
+
def request_data(security_origin: nil, storage_key: nil, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
|
65
68
|
@devtools.send_cmd('IndexedDB.requestData',
|
66
69
|
securityOrigin: security_origin,
|
70
|
+
storageKey: storage_key,
|
67
71
|
databaseName: database_name,
|
68
72
|
objectStoreName: object_store_name,
|
69
73
|
indexName: index_name,
|
@@ -72,25 +76,28 @@ module Selenium
|
|
72
76
|
keyRange: key_range)
|
73
77
|
end
|
74
78
|
|
75
|
-
def get_metadata(security_origin
|
79
|
+
def get_metadata(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
|
76
80
|
@devtools.send_cmd('IndexedDB.getMetadata',
|
77
81
|
securityOrigin: security_origin,
|
82
|
+
storageKey: storage_key,
|
78
83
|
databaseName: database_name,
|
79
84
|
objectStoreName: object_store_name)
|
80
85
|
end
|
81
86
|
|
82
|
-
def request_database(security_origin
|
87
|
+
def request_database(security_origin: nil, storage_key: nil, database_name:)
|
83
88
|
@devtools.send_cmd('IndexedDB.requestDatabase',
|
84
89
|
securityOrigin: security_origin,
|
90
|
+
storageKey: storage_key,
|
85
91
|
databaseName: database_name)
|
86
92
|
end
|
87
93
|
|
88
|
-
def request_database_names(security_origin:)
|
94
|
+
def request_database_names(security_origin: nil, storage_key: nil)
|
89
95
|
@devtools.send_cmd('IndexedDB.requestDatabaseNames',
|
90
|
-
securityOrigin: security_origin
|
96
|
+
securityOrigin: security_origin,
|
97
|
+
storageKey: storage_key)
|
91
98
|
end
|
92
99
|
|
93
100
|
end # IndexedDB
|
94
|
-
end #
|
101
|
+
end # V109
|
95
102
|
end # DevTools
|
96
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class Network
|
25
25
|
EVENTS = {
|
26
26
|
data_received: 'dataReceived',
|
@@ -259,6 +259,6 @@ module Selenium
|
|
259
259
|
end
|
260
260
|
|
261
261
|
end # Network
|
262
|
-
end #
|
262
|
+
end # V109
|
263
263
|
end # DevTools
|
264
264
|
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 V109
|
24
24
|
class Overlay
|
25
25
|
EVENTS = {
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
@@ -197,6 +197,6 @@ module Selenium
|
|
197
197
|
end
|
198
198
|
|
199
199
|
end # Overlay
|
200
|
-
end #
|
200
|
+
end # V109
|
201
201
|
end # DevTools
|
202
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 V109
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -77,13 +77,14 @@ module Selenium
|
|
77
77
|
@devtools.send_cmd('Page.bringToFront')
|
78
78
|
end
|
79
79
|
|
80
|
-
def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil)
|
80
|
+
def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil, optimize_for_speed: nil)
|
81
81
|
@devtools.send_cmd('Page.captureScreenshot',
|
82
82
|
format: format,
|
83
83
|
quality: quality,
|
84
84
|
clip: clip,
|
85
85
|
fromSurface: from_surface,
|
86
|
-
captureBeyondViewport: capture_beyond_viewport
|
86
|
+
captureBeyondViewport: capture_beyond_viewport,
|
87
|
+
optimizeForSpeed: optimize_for_speed)
|
87
88
|
end
|
88
89
|
|
89
90
|
def capture_snapshot(format: nil)
|
@@ -140,6 +141,11 @@ module Selenium
|
|
140
141
|
@devtools.send_cmd('Page.getAppId')
|
141
142
|
end
|
142
143
|
|
144
|
+
def get_ad_script_id(frame_id:)
|
145
|
+
@devtools.send_cmd('Page.getAdScriptId',
|
146
|
+
frameId: frame_id)
|
147
|
+
end
|
148
|
+
|
143
149
|
def get_cookies
|
144
150
|
@devtools.send_cmd('Page.getCookies')
|
145
151
|
end
|
@@ -389,6 +395,6 @@ module Selenium
|
|
389
395
|
end
|
390
396
|
|
391
397
|
end # Page
|
392
|
-
end #
|
398
|
+
end # V109
|
393
399
|
end # DevTools
|
394
400
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class Profiler
|
25
25
|
EVENTS = {
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
@@ -65,10 +65,6 @@ module Selenium
|
|
65
65
|
allowTriggeredUpdates: allow_triggered_updates)
|
66
66
|
end
|
67
67
|
|
68
|
-
def start_type_profile
|
69
|
-
@devtools.send_cmd('Profiler.startTypeProfile')
|
70
|
-
end
|
71
|
-
|
72
68
|
def stop
|
73
69
|
@devtools.send_cmd('Profiler.stop')
|
74
70
|
end
|
@@ -77,19 +73,11 @@ module Selenium
|
|
77
73
|
@devtools.send_cmd('Profiler.stopPreciseCoverage')
|
78
74
|
end
|
79
75
|
|
80
|
-
def stop_type_profile
|
81
|
-
@devtools.send_cmd('Profiler.stopTypeProfile')
|
82
|
-
end
|
83
|
-
|
84
76
|
def take_precise_coverage
|
85
77
|
@devtools.send_cmd('Profiler.takePreciseCoverage')
|
86
78
|
end
|
87
79
|
|
88
|
-
def take_type_profile
|
89
|
-
@devtools.send_cmd('Profiler.takeTypeProfile')
|
90
|
-
end
|
91
|
-
|
92
80
|
end # Profiler
|
93
|
-
end #
|
81
|
+
end # V109
|
94
82
|
end # DevTools
|
95
83
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class Storage
|
25
25
|
EVENTS = {
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
@@ -28,6 +28,7 @@ module Selenium
|
|
28
28
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
29
29
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
30
30
|
interest_group_accessed: 'interestGroupAccessed',
|
31
|
+
shared_storage_accessed: 'sharedStorageAccessed',
|
31
32
|
}.freeze
|
32
33
|
|
33
34
|
def initialize(devtools)
|
@@ -93,6 +94,11 @@ module Selenium
|
|
93
94
|
origin: origin)
|
94
95
|
end
|
95
96
|
|
97
|
+
def track_indexed_db_for_storage_key(storage_key:)
|
98
|
+
@devtools.send_cmd('Storage.trackIndexedDBForStorageKey',
|
99
|
+
storageKey: storage_key)
|
100
|
+
end
|
101
|
+
|
96
102
|
def untrack_cache_storage_for_origin(origin:)
|
97
103
|
@devtools.send_cmd('Storage.untrackCacheStorageForOrigin',
|
98
104
|
origin: origin)
|
@@ -103,6 +109,11 @@ module Selenium
|
|
103
109
|
origin: origin)
|
104
110
|
end
|
105
111
|
|
112
|
+
def untrack_indexed_db_for_storage_key(storage_key:)
|
113
|
+
@devtools.send_cmd('Storage.untrackIndexedDBForStorageKey',
|
114
|
+
storageKey: storage_key)
|
115
|
+
end
|
116
|
+
|
106
117
|
def get_trust_tokens
|
107
118
|
@devtools.send_cmd('Storage.getTrustTokens')
|
108
119
|
end
|
@@ -123,7 +134,41 @@ module Selenium
|
|
123
134
|
enable: enable)
|
124
135
|
end
|
125
136
|
|
137
|
+
def get_shared_storage_metadata(owner_origin:)
|
138
|
+
@devtools.send_cmd('Storage.getSharedStorageMetadata',
|
139
|
+
ownerOrigin: owner_origin)
|
140
|
+
end
|
141
|
+
|
142
|
+
def get_shared_storage_entries(owner_origin:)
|
143
|
+
@devtools.send_cmd('Storage.getSharedStorageEntries',
|
144
|
+
ownerOrigin: owner_origin)
|
145
|
+
end
|
146
|
+
|
147
|
+
def set_shared_storage_entry(owner_origin:, key:, value:, ignore_if_present: nil)
|
148
|
+
@devtools.send_cmd('Storage.setSharedStorageEntry',
|
149
|
+
ownerOrigin: owner_origin,
|
150
|
+
key: key,
|
151
|
+
value: value,
|
152
|
+
ignoreIfPresent: ignore_if_present)
|
153
|
+
end
|
154
|
+
|
155
|
+
def delete_shared_storage_entry(owner_origin:, key:)
|
156
|
+
@devtools.send_cmd('Storage.deleteSharedStorageEntry',
|
157
|
+
ownerOrigin: owner_origin,
|
158
|
+
key: key)
|
159
|
+
end
|
160
|
+
|
161
|
+
def clear_shared_storage_entries(owner_origin:)
|
162
|
+
@devtools.send_cmd('Storage.clearSharedStorageEntries',
|
163
|
+
ownerOrigin: owner_origin)
|
164
|
+
end
|
165
|
+
|
166
|
+
def set_shared_storage_tracking(enable:)
|
167
|
+
@devtools.send_cmd('Storage.setSharedStorageTracking',
|
168
|
+
enable: enable)
|
169
|
+
end
|
170
|
+
|
126
171
|
end # Storage
|
127
|
-
end #
|
172
|
+
end # V109
|
128
173
|
end # DevTools
|
129
174
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class Target
|
25
25
|
EVENTS = {
|
26
26
|
attached_to_target: 'attachedToTarget',
|
@@ -106,8 +106,9 @@ module Selenium
|
|
106
106
|
targetId: target_id)
|
107
107
|
end
|
108
108
|
|
109
|
-
def get_targets
|
110
|
-
@devtools.send_cmd('Target.getTargets'
|
109
|
+
def get_targets(filter: nil)
|
110
|
+
@devtools.send_cmd('Target.getTargets',
|
111
|
+
filter: filter)
|
111
112
|
end
|
112
113
|
|
113
114
|
def send_message_to_target(message:, session_id: nil, target_id: nil)
|
@@ -117,22 +118,25 @@ module Selenium
|
|
117
118
|
targetId: target_id)
|
118
119
|
end
|
119
120
|
|
120
|
-
def set_auto_attach(auto_attach:, wait_for_debugger_on_start:, flatten: nil)
|
121
|
+
def set_auto_attach(auto_attach:, wait_for_debugger_on_start:, flatten: nil, filter: nil)
|
121
122
|
@devtools.send_cmd('Target.setAutoAttach',
|
122
123
|
autoAttach: auto_attach,
|
123
124
|
waitForDebuggerOnStart: wait_for_debugger_on_start,
|
124
|
-
flatten: flatten
|
125
|
+
flatten: flatten,
|
126
|
+
filter: filter)
|
125
127
|
end
|
126
128
|
|
127
|
-
def auto_attach_related(target_id:, wait_for_debugger_on_start:)
|
129
|
+
def auto_attach_related(target_id:, wait_for_debugger_on_start:, filter: nil)
|
128
130
|
@devtools.send_cmd('Target.autoAttachRelated',
|
129
131
|
targetId: target_id,
|
130
|
-
waitForDebuggerOnStart: wait_for_debugger_on_start
|
132
|
+
waitForDebuggerOnStart: wait_for_debugger_on_start,
|
133
|
+
filter: filter)
|
131
134
|
end
|
132
135
|
|
133
|
-
def set_discover_targets(discover:)
|
136
|
+
def set_discover_targets(discover:, filter: nil)
|
134
137
|
@devtools.send_cmd('Target.setDiscoverTargets',
|
135
|
-
discover: discover
|
138
|
+
discover: discover,
|
139
|
+
filter: filter)
|
136
140
|
end
|
137
141
|
|
138
142
|
def set_remote_locations(locations:)
|
@@ -141,6 +145,6 @@ module Selenium
|
|
141
145
|
end
|
142
146
|
|
143
147
|
end # Target
|
144
|
-
end #
|
148
|
+
end # V109
|
145
149
|
end # DevTools
|
146
150
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class WebAuthn
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -46,6 +46,14 @@ module Selenium
|
|
46
46
|
options: options)
|
47
47
|
end
|
48
48
|
|
49
|
+
def set_response_override_bits(authenticator_id:, is_bogus_signature: nil, is_bad_uv: nil, is_bad_up: nil)
|
50
|
+
@devtools.send_cmd('WebAuthn.setResponseOverrideBits',
|
51
|
+
authenticatorId: authenticator_id,
|
52
|
+
isBogusSignature: is_bogus_signature,
|
53
|
+
isBadUV: is_bad_uv,
|
54
|
+
isBadUP: is_bad_up)
|
55
|
+
end
|
56
|
+
|
49
57
|
def remove_virtual_authenticator(authenticator_id:)
|
50
58
|
@devtools.send_cmd('WebAuthn.removeVirtualAuthenticator',
|
51
59
|
authenticatorId: authenticator_id)
|
@@ -92,6 +100,6 @@ module Selenium
|
|
92
100
|
end
|
93
101
|
|
94
102
|
end # WebAuthn
|
95
|
-
end #
|
103
|
+
end # V109
|
96
104
|
end # DevTools
|
97
105
|
end # Selenium
|