selenium-devtools 0.144.0 → 0.146.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/LICENSE +0 -0
- data/NOTICE +0 -0
- data/lib/selenium/devtools/{v143 → v145}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/animation.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/audits.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/browser.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/cast.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/console.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/css.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/dom.rb +3 -2
- data/lib/selenium/devtools/{v142 → v145}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/input.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/io.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/log.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/media.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/memory.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/network.rb +22 -11
- data/lib/selenium/devtools/{v142 → v145}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/page.rb +7 -2
- data/lib/selenium/devtools/{v142 → v145}/performance.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/preload.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/schema.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/security.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/storage.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/target.rb +10 -4
- data/lib/selenium/devtools/{v142 → v145}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v142 → v145}/tracing.rb +6 -2
- data/lib/selenium/devtools/{v142 → v145}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v143 → v145}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v142.rb → v145.rb} +3 -3
- data/lib/selenium/devtools/{v142 → v146}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/animation.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/audits.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/browser.rb +4 -4
- data/lib/selenium/devtools/{v142 → v146}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/cast.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/console.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/css.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/dom.rb +3 -2
- data/lib/selenium/devtools/{v143 → v146}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/extensions.rb +11 -4
- data/lib/selenium/devtools/{v142 → v146}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/input.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/inspector.rb +3 -2
- data/lib/selenium/devtools/{v143 → v146}/io.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/log.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/media.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/memory.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/network.rb +25 -18
- data/lib/selenium/devtools/{v143 → v146}/overlay.rb +9 -2
- data/lib/selenium/devtools/{v142 → v146}/page.rb +7 -2
- data/lib/selenium/devtools/{v143 → v146}/performance.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/preload.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/schema.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/security.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/service_worker.rb +2 -2
- data/lib/selenium/devtools/v146/smart_card_emulation.rb +124 -0
- data/lib/selenium/devtools/{v143 → v146}/storage.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/target.rb +13 -6
- data/lib/selenium/devtools/{v143 → v146}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v143 → v146}/tracing.rb +6 -2
- data/lib/selenium/devtools/{v143 → v146}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v142 → v146}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v143.rb → v146.rb} +4 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +111 -110
|
@@ -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 V146
|
|
24
24
|
class DeviceAccess
|
|
25
25
|
EVENTS = {
|
|
26
26
|
device_request_prompted: 'deviceRequestPrompted',
|
|
@@ -55,6 +55,6 @@ module Selenium
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
end # DeviceAccess
|
|
58
|
-
end #
|
|
58
|
+
end # V146
|
|
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 V146
|
|
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 # V146
|
|
48
48
|
end # DevTools
|
|
49
49
|
end # Selenium
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V146
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
27
|
+
adopted_style_sheets_modified: 'adoptedStyleSheetsModified',
|
|
27
28
|
attribute_removed: 'attributeRemoved',
|
|
28
29
|
character_data_modified: 'characterDataModified',
|
|
29
30
|
child_node_count_updated: 'childNodeCountUpdated',
|
|
@@ -364,6 +365,6 @@ module Selenium
|
|
|
364
365
|
end
|
|
365
366
|
|
|
366
367
|
end # DOM
|
|
367
|
-
end #
|
|
368
|
+
end # V146
|
|
368
369
|
end # DevTools
|
|
369
370
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -305,6 +305,6 @@ module Selenium
|
|
|
305
305
|
end
|
|
306
306
|
|
|
307
307
|
end # Emulation
|
|
308
|
-
end #
|
|
308
|
+
end # V146
|
|
309
309
|
end # DevTools
|
|
310
310
|
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 V146
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -47,6 +47,6 @@ module Selenium
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
end # EventBreakpoints
|
|
50
|
-
end #
|
|
50
|
+
end # V146
|
|
51
51
|
end # DevTools
|
|
52
52
|
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 V146
|
|
24
24
|
class Extensions
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -32,9 +32,16 @@ module Selenium
|
|
|
32
32
|
@devtools.callbacks["Extensions.#{event}"] << block
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def
|
|
35
|
+
def trigger_action(id:, target_id:)
|
|
36
|
+
@devtools.send_cmd('Extensions.triggerAction',
|
|
37
|
+
id: id,
|
|
38
|
+
targetId: target_id)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def load_unpacked(path:, enable_in_incognito: nil)
|
|
36
42
|
@devtools.send_cmd('Extensions.loadUnpacked',
|
|
37
|
-
path: path
|
|
43
|
+
path: path,
|
|
44
|
+
enableInIncognito: enable_in_incognito)
|
|
38
45
|
end
|
|
39
46
|
|
|
40
47
|
def uninstall(id:)
|
|
@@ -70,6 +77,6 @@ module Selenium
|
|
|
70
77
|
end
|
|
71
78
|
|
|
72
79
|
end # Extensions
|
|
73
|
-
end #
|
|
80
|
+
end # V146
|
|
74
81
|
end # DevTools
|
|
75
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 V146
|
|
24
24
|
class FedCm
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dialog_shown: 'dialogShown',
|
|
@@ -75,6 +75,6 @@ module Selenium
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
end # FedCm
|
|
78
|
-
end #
|
|
78
|
+
end # V146
|
|
79
79
|
end # DevTools
|
|
80
80
|
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 V146
|
|
24
24
|
class Fetch
|
|
25
25
|
EVENTS = {
|
|
26
26
|
request_paused: 'requestPaused',
|
|
@@ -98,6 +98,6 @@ module Selenium
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
end # Fetch
|
|
101
|
-
end #
|
|
101
|
+
end # V146
|
|
102
102
|
end # DevTools
|
|
103
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 V146
|
|
24
24
|
class FileSystem
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -38,6 +38,6 @@ module Selenium
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
end # FileSystem
|
|
41
|
-
end #
|
|
41
|
+
end # V146
|
|
42
42
|
end # DevTools
|
|
43
43
|
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 V146
|
|
24
24
|
class HeadlessExperimental
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # HeadlessExperimental
|
|
52
|
-
end #
|
|
52
|
+
end # V146
|
|
53
53
|
end # DevTools
|
|
54
54
|
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 V146
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -105,6 +105,6 @@ module Selenium
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
end # HeapProfiler
|
|
108
|
-
end #
|
|
108
|
+
end # V146
|
|
109
109
|
end # DevTools
|
|
110
110
|
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 V146
|
|
24
24
|
class IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -105,6 +105,6 @@ module Selenium
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
end # IndexedDB
|
|
108
|
-
end #
|
|
108
|
+
end # V146
|
|
109
109
|
end # DevTools
|
|
110
110
|
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 V146
|
|
24
24
|
class Input
|
|
25
25
|
EVENTS = {
|
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
|
@@ -167,6 +167,6 @@ module Selenium
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
end # Input
|
|
170
|
-
end #
|
|
170
|
+
end # V146
|
|
171
171
|
end # DevTools
|
|
172
172
|
end # Selenium
|
|
@@ -20,12 +20,13 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V146
|
|
24
24
|
class Inspector
|
|
25
25
|
EVENTS = {
|
|
26
26
|
detached: 'detached',
|
|
27
27
|
target_crashed: 'targetCrashed',
|
|
28
28
|
target_reloaded_after_crash: 'targetReloadedAfterCrash',
|
|
29
|
+
worker_script_loaded: 'workerScriptLoaded',
|
|
29
30
|
}.freeze
|
|
30
31
|
|
|
31
32
|
def initialize(devtools)
|
|
@@ -46,6 +47,6 @@ module Selenium
|
|
|
46
47
|
end
|
|
47
48
|
|
|
48
49
|
end # Inspector
|
|
49
|
-
end #
|
|
50
|
+
end # V146
|
|
50
51
|
end # DevTools
|
|
51
52
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
24
24
|
class Memory
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -81,6 +81,6 @@ module Selenium
|
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
end # Memory
|
|
84
|
-
end #
|
|
84
|
+
end # V146
|
|
85
85
|
end # DevTools
|
|
86
86
|
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 V146
|
|
24
24
|
class Network
|
|
25
25
|
EVENTS = {
|
|
26
26
|
data_received: 'dataReceived',
|
|
@@ -49,6 +49,8 @@ module Selenium
|
|
|
49
49
|
direct_tcp_socket_closed: 'directTCPSocketClosed',
|
|
50
50
|
direct_tcp_socket_chunk_sent: 'directTCPSocketChunkSent',
|
|
51
51
|
direct_tcp_socket_chunk_received: 'directTCPSocketChunkReceived',
|
|
52
|
+
direct_udp_socket_joined_multicast_group: 'directUDPSocketJoinedMulticastGroup',
|
|
53
|
+
direct_udp_socket_left_multicast_group: 'directUDPSocketLeftMulticastGroup',
|
|
52
54
|
direct_udp_socket_created: 'directUDPSocketCreated',
|
|
53
55
|
direct_udp_socket_opened: 'directUDPSocketOpened',
|
|
54
56
|
direct_udp_socket_aborted: 'directUDPSocketAborted',
|
|
@@ -60,13 +62,11 @@ module Selenium
|
|
|
60
62
|
response_received_early_hints: 'responseReceivedEarlyHints',
|
|
61
63
|
trust_token_operation_done: 'trustTokenOperationDone',
|
|
62
64
|
policy_updated: 'policyUpdated',
|
|
63
|
-
subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
|
|
64
|
-
subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
|
|
65
|
-
subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
|
|
66
|
-
subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
|
|
67
65
|
reporting_api_report_added: 'reportingApiReportAdded',
|
|
68
66
|
reporting_api_report_updated: 'reportingApiReportUpdated',
|
|
69
67
|
reporting_api_endpoints_changed_for_origin: 'reportingApiEndpointsChangedForOrigin',
|
|
68
|
+
device_bound_sessions_added: 'deviceBoundSessionsAdded',
|
|
69
|
+
device_bound_session_event_occurred: 'deviceBoundSessionEventOccurred',
|
|
70
70
|
}.freeze
|
|
71
71
|
|
|
72
72
|
def initialize(devtools)
|
|
@@ -78,15 +78,6 @@ module Selenium
|
|
|
78
78
|
@devtools.callbacks["Network.#{event}"] << block
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
def get_ip_protection_proxy_status
|
|
82
|
-
@devtools.send_cmd('Network.getIPProtectionProxyStatus')
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
def set_ip_protection_proxy_bypass_enabled(enabled:)
|
|
86
|
-
@devtools.send_cmd('Network.setIPProtectionProxyBypassEnabled',
|
|
87
|
-
enabled: enabled)
|
|
88
|
-
end
|
|
89
|
-
|
|
90
81
|
def set_accepted_encodings(encodings:)
|
|
91
82
|
@devtools.send_cmd('Network.setAcceptedEncodings',
|
|
92
83
|
encodings: encodings)
|
|
@@ -177,6 +168,12 @@ module Selenium
|
|
|
177
168
|
enableDurableMessages: enable_durable_messages)
|
|
178
169
|
end
|
|
179
170
|
|
|
171
|
+
def configure_durable_messages(max_total_buffer_size: nil, max_resource_buffer_size: nil)
|
|
172
|
+
@devtools.send_cmd('Network.configureDurableMessages',
|
|
173
|
+
maxTotalBufferSize: max_total_buffer_size,
|
|
174
|
+
maxResourceBufferSize: max_resource_buffer_size)
|
|
175
|
+
end
|
|
176
|
+
|
|
180
177
|
def get_all_cookies
|
|
181
178
|
@devtools.send_cmd('Network.getAllCookies')
|
|
182
179
|
end
|
|
@@ -224,8 +221,9 @@ module Selenium
|
|
|
224
221
|
isRegex: is_regex)
|
|
225
222
|
end
|
|
226
223
|
|
|
227
|
-
def set_blocked_urls(urls:)
|
|
224
|
+
def set_blocked_urls(url_patterns: nil, urls: nil)
|
|
228
225
|
@devtools.send_cmd('Network.setBlockedURLs',
|
|
226
|
+
urlPatterns: url_patterns,
|
|
229
227
|
urls: urls)
|
|
230
228
|
end
|
|
231
229
|
|
|
@@ -239,7 +237,7 @@ module Selenium
|
|
|
239
237
|
cacheDisabled: cache_disabled)
|
|
240
238
|
end
|
|
241
239
|
|
|
242
|
-
def set_cookie(name:, value:, url: nil, domain: nil, path: nil, secure: nil, http_only: nil, same_site: nil, expires: nil, priority: nil,
|
|
240
|
+
def set_cookie(name:, value:, url: nil, domain: nil, path: nil, secure: nil, http_only: nil, same_site: nil, expires: nil, priority: nil, source_scheme: nil, source_port: nil, partition_key: nil)
|
|
243
241
|
@devtools.send_cmd('Network.setCookie',
|
|
244
242
|
name: name,
|
|
245
243
|
value: value,
|
|
@@ -251,7 +249,6 @@ module Selenium
|
|
|
251
249
|
sameSite: same_site,
|
|
252
250
|
expires: expires,
|
|
253
251
|
priority: priority,
|
|
254
|
-
sameParty: same_party,
|
|
255
252
|
sourceScheme: source_scheme,
|
|
256
253
|
sourcePort: source_port,
|
|
257
254
|
partitionKey: partition_key)
|
|
@@ -300,6 +297,16 @@ module Selenium
|
|
|
300
297
|
enable: enable)
|
|
301
298
|
end
|
|
302
299
|
|
|
300
|
+
def enable_device_bound_sessions(enable:)
|
|
301
|
+
@devtools.send_cmd('Network.enableDeviceBoundSessions',
|
|
302
|
+
enable: enable)
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
def fetch_schemeful_site(origin:)
|
|
306
|
+
@devtools.send_cmd('Network.fetchSchemefulSite',
|
|
307
|
+
origin: origin)
|
|
308
|
+
end
|
|
309
|
+
|
|
303
310
|
def load_network_resource(frame_id: nil, url:, options:)
|
|
304
311
|
@devtools.send_cmd('Network.loadNetworkResource',
|
|
305
312
|
frameId: frame_id,
|
|
@@ -315,6 +322,6 @@ module Selenium
|
|
|
315
322
|
end
|
|
316
323
|
|
|
317
324
|
end # Network
|
|
318
|
-
end #
|
|
325
|
+
end # V146
|
|
319
326
|
end # DevTools
|
|
320
327
|
end # Selenium
|
|
@@ -20,12 +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 V146
|
|
24
24
|
class Overlay
|
|
25
25
|
EVENTS = {
|
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
|
27
27
|
node_highlight_requested: 'nodeHighlightRequested',
|
|
28
28
|
screenshot_requested: 'screenshotRequested',
|
|
29
|
+
inspect_panel_show_requested: 'inspectPanelShowRequested',
|
|
30
|
+
inspected_element_window_restored: 'inspectedElementWindowRestored',
|
|
29
31
|
inspect_mode_canceled: 'inspectModeCanceled',
|
|
30
32
|
}.freeze
|
|
31
33
|
|
|
@@ -156,6 +158,11 @@ module Selenium
|
|
|
156
158
|
containerQueryHighlightConfigs: container_query_highlight_configs)
|
|
157
159
|
end
|
|
158
160
|
|
|
161
|
+
def set_show_inspected_element_anchor(inspected_element_anchor_config:)
|
|
162
|
+
@devtools.send_cmd('Overlay.setShowInspectedElementAnchor',
|
|
163
|
+
inspectedElementAnchorConfig: inspected_element_anchor_config)
|
|
164
|
+
end
|
|
165
|
+
|
|
159
166
|
def set_show_paint_rects(result:)
|
|
160
167
|
@devtools.send_cmd('Overlay.setShowPaintRects',
|
|
161
168
|
result: result)
|
|
@@ -202,6 +209,6 @@ module Selenium
|
|
|
202
209
|
end
|
|
203
210
|
|
|
204
211
|
end # Overlay
|
|
205
|
-
end #
|
|
212
|
+
end # V146
|
|
206
213
|
end # DevTools
|
|
207
214
|
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 V146
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -408,7 +408,12 @@ module Selenium
|
|
|
408
408
|
isAllowed: is_allowed)
|
|
409
409
|
end
|
|
410
410
|
|
|
411
|
+
def get_annotated_page_content(include_actionable_information: nil)
|
|
412
|
+
@devtools.send_cmd('Page.getAnnotatedPageContent',
|
|
413
|
+
includeActionableInformation: include_actionable_information)
|
|
414
|
+
end
|
|
415
|
+
|
|
411
416
|
end # Page
|
|
412
|
-
end #
|
|
417
|
+
end # V146
|
|
413
418
|
end # DevTools
|
|
414
419
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
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 # V146
|
|
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 V146
|
|
24
24
|
class Preload
|
|
25
25
|
EVENTS = {
|
|
26
26
|
rule_set_updated: 'ruleSetUpdated',
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # Preload
|
|
52
|
-
end #
|
|
52
|
+
end # V146
|
|
53
53
|
end # DevTools
|
|
54
54
|
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 V146
|
|
24
24
|
class Profiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
|
@@ -78,6 +78,6 @@ module Selenium
|
|
|
78
78
|
end
|
|
79
79
|
|
|
80
80
|
end # Profiler
|
|
81
|
-
end #
|
|
81
|
+
end # V146
|
|
82
82
|
end # DevTools
|
|
83
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 V146
|
|
24
24
|
class PWA
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -73,6 +73,6 @@ module Selenium
|
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
end # PWA
|
|
76
|
-
end #
|
|
76
|
+
end # V146
|
|
77
77
|
end # DevTools
|
|
78
78
|
end # Selenium
|