selenium-devtools 0.142.0 → 0.144.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/Gemfile +1 -1
- data/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/{v141 → v143}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/animation.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/audits.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/autofill.rb +5 -4
- data/lib/selenium/devtools/{v141 → v143}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/browser.rb +4 -4
- data/lib/selenium/devtools/{v141 → v143}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/cast.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/console.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/css.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/dom.rb +3 -2
- data/lib/selenium/devtools/{v140 → v143}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/heap_profiler.rb +4 -3
- data/lib/selenium/devtools/{v140 → v143}/indexed_db.rb +3 -3
- data/lib/selenium/devtools/{v140 → v143}/input.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/inspector.rb +3 -2
- data/lib/selenium/devtools/{v140 → v143}/io.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/log.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/media.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/memory.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/network.rb +31 -9
- data/lib/selenium/devtools/{v140 → v143}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/page.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/performance.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/preload.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/schema.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/security.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/storage.rb +7 -2
- data/lib/selenium/devtools/{v140 → v143}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/target.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v141 → v143}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v140.rb → v143.rb} +13 -13
- data/lib/selenium/devtools/{v140 → v144}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/animation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/audits.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/autofill.rb +5 -4
- data/lib/selenium/devtools/{v140 → v144}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/browser.rb +4 -3
- data/lib/selenium/devtools/{v140 → v144}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/cast.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/console.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/css.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/dom.rb +4 -2
- data/lib/selenium/devtools/{v141 → v144}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/emulation.rb +25 -2
- data/lib/selenium/devtools/{v141 → v144}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/heap_profiler.rb +4 -3
- data/lib/selenium/devtools/{v141 → v144}/indexed_db.rb +3 -3
- data/lib/selenium/devtools/{v141 → v144}/input.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/inspector.rb +3 -2
- data/lib/selenium/devtools/{v141 → v144}/io.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/log.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/media.rb +3 -3
- data/lib/selenium/devtools/{v141 → v144}/memory.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/network.rb +21 -11
- data/lib/selenium/devtools/{v141 → v144}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/page.rb +7 -2
- data/lib/selenium/devtools/{v141 → v144}/performance.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/preload.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/schema.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/security.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/storage.rb +7 -2
- data/lib/selenium/devtools/{v141 → v144}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/target.rb +10 -4
- data/lib/selenium/devtools/{v141 → v144}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v141 → v144}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v140 → v144}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v141.rb → v144.rb} +3 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +110 -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 V144
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # CacheStorage
|
|
69
|
-
end #
|
|
69
|
+
end # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -248,6 +248,6 @@ module Selenium
|
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
end # CSS
|
|
251
|
-
end #
|
|
251
|
+
end # V144
|
|
252
252
|
end # DevTools
|
|
253
253
|
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 V144
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -233,6 +233,6 @@ module Selenium
|
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
end # Debugger
|
|
236
|
-
end #
|
|
236
|
+
end # V144
|
|
237
237
|
end # DevTools
|
|
238
238
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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',
|
|
@@ -35,6 +36,7 @@ module Selenium
|
|
|
35
36
|
pseudo_element_added: 'pseudoElementAdded',
|
|
36
37
|
top_layer_elements_updated: 'topLayerElementsUpdated',
|
|
37
38
|
scrollable_flag_updated: 'scrollableFlagUpdated',
|
|
39
|
+
affected_by_starting_styles_flag_updated: 'affectedByStartingStylesFlagUpdated',
|
|
38
40
|
pseudo_element_removed: 'pseudoElementRemoved',
|
|
39
41
|
set_child_nodes: 'setChildNodes',
|
|
40
42
|
shadow_root_popped: 'shadowRootPopped',
|
|
@@ -363,6 +365,6 @@ module Selenium
|
|
|
363
365
|
end
|
|
364
366
|
|
|
365
367
|
end # DOM
|
|
366
|
-
end #
|
|
368
|
+
end # V144
|
|
367
369
|
end # DevTools
|
|
368
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -281,7 +281,30 @@ module Selenium
|
|
|
281
281
|
difference: difference)
|
|
282
282
|
end
|
|
283
283
|
|
|
284
|
+
def get_screen_infos
|
|
285
|
+
@devtools.send_cmd('Emulation.getScreenInfos')
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
def add_screen(left:, top:, width:, height:, work_area_insets: nil, device_pixel_ratio: nil, rotation: nil, color_depth: nil, label: nil, is_internal: nil)
|
|
289
|
+
@devtools.send_cmd('Emulation.addScreen',
|
|
290
|
+
left: left,
|
|
291
|
+
top: top,
|
|
292
|
+
width: width,
|
|
293
|
+
height: height,
|
|
294
|
+
workAreaInsets: work_area_insets,
|
|
295
|
+
devicePixelRatio: device_pixel_ratio,
|
|
296
|
+
rotation: rotation,
|
|
297
|
+
colorDepth: color_depth,
|
|
298
|
+
label: label,
|
|
299
|
+
isInternal: is_internal)
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
def remove_screen(screen_id:)
|
|
303
|
+
@devtools.send_cmd('Emulation.removeScreen',
|
|
304
|
+
screenId: screen_id)
|
|
305
|
+
end
|
|
306
|
+
|
|
284
307
|
end # Emulation
|
|
285
|
-
end #
|
|
308
|
+
end # V144
|
|
286
309
|
end # DevTools
|
|
287
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 V144
|
|
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 # V144
|
|
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 V144
|
|
24
24
|
class Extensions
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -70,6 +70,6 @@ module Selenium
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
end # Extensions
|
|
73
|
-
end #
|
|
73
|
+
end # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -71,9 +71,10 @@ module Selenium
|
|
|
71
71
|
@devtools.send_cmd('HeapProfiler.getSamplingProfile')
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
def start_sampling(sampling_interval: nil, include_objects_collected_by_major_gc: nil, include_objects_collected_by_minor_gc: nil)
|
|
74
|
+
def start_sampling(sampling_interval: nil, stack_depth: nil, include_objects_collected_by_major_gc: nil, include_objects_collected_by_minor_gc: nil)
|
|
75
75
|
@devtools.send_cmd('HeapProfiler.startSampling',
|
|
76
76
|
samplingInterval: sampling_interval,
|
|
77
|
+
stackDepth: stack_depth,
|
|
77
78
|
includeObjectsCollectedByMajorGC: include_objects_collected_by_major_gc,
|
|
78
79
|
includeObjectsCollectedByMinorGC: include_objects_collected_by_minor_gc)
|
|
79
80
|
end
|
|
@@ -104,6 +105,6 @@ module Selenium
|
|
|
104
105
|
end
|
|
105
106
|
|
|
106
107
|
end # HeapProfiler
|
|
107
|
-
end #
|
|
108
|
+
end # V144
|
|
108
109
|
end # DevTools
|
|
109
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 V144
|
|
24
24
|
class IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -67,7 +67,7 @@ module Selenium
|
|
|
67
67
|
@devtools.send_cmd('IndexedDB.enable')
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
def request_data(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:, index_name
|
|
70
|
+
def request_data(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:, index_name: nil, skip_count:, page_size:, key_range: nil)
|
|
71
71
|
@devtools.send_cmd('IndexedDB.requestData',
|
|
72
72
|
securityOrigin: security_origin,
|
|
73
73
|
storageKey: storage_key,
|
|
@@ -105,6 +105,6 @@ module Selenium
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
end # IndexedDB
|
|
108
|
-
end #
|
|
108
|
+
end # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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 # V144
|
|
61
61
|
end # DevTools
|
|
62
62
|
end # Selenium
|
|
@@ -20,14 +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 V144
|
|
24
24
|
class Media
|
|
25
25
|
EVENTS = {
|
|
26
26
|
player_properties_changed: 'playerPropertiesChanged',
|
|
27
27
|
player_events_added: 'playerEventsAdded',
|
|
28
28
|
player_messages_logged: 'playerMessagesLogged',
|
|
29
29
|
player_errors_raised: 'playerErrorsRaised',
|
|
30
|
-
|
|
30
|
+
player_created: 'playerCreated',
|
|
31
31
|
}.freeze
|
|
32
32
|
|
|
33
33
|
def initialize(devtools)
|
|
@@ -48,6 +48,6 @@ module Selenium
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
end # Media
|
|
51
|
-
end #
|
|
51
|
+
end # V144
|
|
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 V144
|
|
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 # V144
|
|
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 V144
|
|
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,10 +62,6 @@ 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',
|
|
@@ -78,10 +76,6 @@ module Selenium
|
|
|
78
76
|
@devtools.callbacks["Network.#{event}"] << block
|
|
79
77
|
end
|
|
80
78
|
|
|
81
|
-
def get_ip_protection_proxy_status
|
|
82
|
-
@devtools.send_cmd('Network.getIPProtectionProxyStatus')
|
|
83
|
-
end
|
|
84
|
-
|
|
85
79
|
def set_accepted_encodings(encodings:)
|
|
86
80
|
@devtools.send_cmd('Network.setAcceptedEncodings',
|
|
87
81
|
encodings: encodings)
|
|
@@ -148,6 +142,21 @@ module Selenium
|
|
|
148
142
|
packetReordering: packet_reordering)
|
|
149
143
|
end
|
|
150
144
|
|
|
145
|
+
def emulate_network_conditions_by_rule(offline:, matched_network_conditions:)
|
|
146
|
+
@devtools.send_cmd('Network.emulateNetworkConditionsByRule',
|
|
147
|
+
offline: offline,
|
|
148
|
+
matchedNetworkConditions: matched_network_conditions)
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
def override_network_state(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil)
|
|
152
|
+
@devtools.send_cmd('Network.overrideNetworkState',
|
|
153
|
+
offline: offline,
|
|
154
|
+
latency: latency,
|
|
155
|
+
downloadThroughput: download_throughput,
|
|
156
|
+
uploadThroughput: upload_throughput,
|
|
157
|
+
connectionType: connection_type)
|
|
158
|
+
end
|
|
159
|
+
|
|
151
160
|
def enable(max_total_buffer_size: nil, max_resource_buffer_size: nil, max_post_data_size: nil, report_direct_socket_traffic: nil, enable_durable_messages: nil)
|
|
152
161
|
@devtools.send_cmd('Network.enable',
|
|
153
162
|
maxTotalBufferSize: max_total_buffer_size,
|
|
@@ -204,8 +213,9 @@ module Selenium
|
|
|
204
213
|
isRegex: is_regex)
|
|
205
214
|
end
|
|
206
215
|
|
|
207
|
-
def set_blocked_urls(urls:)
|
|
216
|
+
def set_blocked_urls(url_patterns: nil, urls: nil)
|
|
208
217
|
@devtools.send_cmd('Network.setBlockedURLs',
|
|
218
|
+
urlPatterns: url_patterns,
|
|
209
219
|
urls: urls)
|
|
210
220
|
end
|
|
211
221
|
|
|
@@ -295,6 +305,6 @@ module Selenium
|
|
|
295
305
|
end
|
|
296
306
|
|
|
297
307
|
end # Network
|
|
298
|
-
end #
|
|
308
|
+
end # V144
|
|
299
309
|
end # DevTools
|
|
300
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 V144
|
|
24
24
|
class Overlay
|
|
25
25
|
EVENTS = {
|
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
|
@@ -202,6 +202,6 @@ module Selenium
|
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
end # Overlay
|
|
205
|
-
end #
|
|
205
|
+
end # V144
|
|
206
206
|
end # DevTools
|
|
207
207
|
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 V144
|
|
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 # V144
|
|
413
418
|
end # DevTools
|
|
414
419
|
end # Selenium
|