selenium-devtools 0.100.0 → 0.103.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/{v99 → v101}/accessibility.rb +3 -4
- data/lib/selenium/devtools/{v96 → v101}/animation.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/audits.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/browser.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/cast.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/console.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/css.rb +7 -2
- data/lib/selenium/devtools/{v96 → v101}/database.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/dom.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v97 → v101}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/input.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/io.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/log.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/media.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/memory.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/network.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/page.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/performance.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/schema.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/security.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/storage.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/target.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v100 → v101}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v101.rb +1 -0
- data/lib/selenium/devtools/{v98 → v102}/accessibility.rb +3 -4
- data/lib/selenium/devtools/{v97 → v102}/animation.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/audits.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/browser.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/cast.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/console.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/css.rb +14 -2
- data/lib/selenium/devtools/{v97 → v102}/database.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/dom.rb +5 -4
- data/lib/selenium/devtools/{v98 → v102}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/emulation.rb +8 -4
- data/lib/selenium/devtools/{v98 → v102}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/input.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/io.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/log.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/media.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/memory.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/network.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/page.rb +3 -2
- data/lib/selenium/devtools/{v97 → v102}/performance.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v98 → v102}/schema.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/security.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/storage.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/target.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v100 → v102}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v102.rb +1 -0
- data/lib/selenium/devtools/{v100 → v103}/accessibility.rb +3 -4
- data/lib/selenium/devtools/{v100 → v103}/animation.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/audits.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/browser.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/cast.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/console.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/css.rb +14 -2
- data/lib/selenium/devtools/{v100 → v103}/database.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/dom.rb +5 -4
- data/lib/selenium/devtools/{v96 → v103}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/dom_storage.rb +7 -2
- data/lib/selenium/devtools/{v98 → v103}/emulation.rb +8 -4
- data/lib/selenium/devtools/{v99 → v103}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v96 → v103}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/input.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/io.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/log.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/media.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/memory.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/network.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/page.rb +7 -6
- data/lib/selenium/devtools/{v96 → v103}/performance.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v97 → v103}/runtime.rb +13 -6
- data/lib/selenium/devtools/{v97 → v103}/schema.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/security.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/storage.rb +14 -2
- data/lib/selenium/devtools/{v100 → v103}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/target.rb +2 -2
- data/lib/selenium/devtools/{v98 → v103}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v96 → v103}/web_authn.rb +5 -4
- data/lib/selenium/devtools/v103.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +3 -4
- metadata +147 -253
- data/lib/selenium/devtools/v100/audits.rb +0 -62
- data/lib/selenium/devtools/v100/dom_debugger.rb +0 -94
- data/lib/selenium/devtools/v100/event_breakpoints.rb +0 -48
- data/lib/selenium/devtools/v100/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v100/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v100/log.rb +0 -62
- data/lib/selenium/devtools/v100/media.rb +0 -53
- data/lib/selenium/devtools/v100/performance_timeline.rb +0 -46
- data/lib/selenium/devtools/v100/schema.rb +0 -42
- data/lib/selenium/devtools/v100/service_worker.rb +0 -112
- data/lib/selenium/devtools/v100.rb +0 -1
- data/lib/selenium/devtools/v96/accessibility.rb +0 -76
- data/lib/selenium/devtools/v96/browser.rb +0 -135
- data/lib/selenium/devtools/v96/cast.rb +0 -66
- data/lib/selenium/devtools/v96/css.rb +0 -182
- data/lib/selenium/devtools/v96/dom.rb +0 -334
- data/lib/selenium/devtools/v96/emulation.rb +0 -197
- data/lib/selenium/devtools/v96/heap_profiler.rb +0 -105
- data/lib/selenium/devtools/v96/io.rb +0 -55
- data/lib/selenium/devtools/v96/network.rb +0 -262
- data/lib/selenium/devtools/v96/overlay.rb +0 -202
- data/lib/selenium/devtools/v96/page.rb +0 -393
- data/lib/selenium/devtools/v96/runtime.rb +0 -194
- data/lib/selenium/devtools/v96/security.rb +0 -67
- data/lib/selenium/devtools/v96/target.rb +0 -145
- data/lib/selenium/devtools/v96/tethering.rb +0 -51
- data/lib/selenium/devtools/v96.rb +0 -1
- data/lib/selenium/devtools/v97/accessibility.rb +0 -76
- data/lib/selenium/devtools/v97/cast.rb +0 -66
- data/lib/selenium/devtools/v97/debugger.rb +0 -220
- data/lib/selenium/devtools/v97/network.rb +0 -262
- data/lib/selenium/devtools/v97/storage.rb +0 -106
- data/lib/selenium/devtools/v97/target.rb +0 -145
- data/lib/selenium/devtools/v97.rb +0 -1
- data/lib/selenium/devtools/v98/animation.rb +0 -94
- data/lib/selenium/devtools/v98/background_service.rb +0 -63
- data/lib/selenium/devtools/v98/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v98/console.rb +0 -53
- data/lib/selenium/devtools/v98/database.rb +0 -60
- data/lib/selenium/devtools/v98/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v98/dom_snapshot.rb +0 -63
- data/lib/selenium/devtools/v98/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v98/fetch.rb +0 -103
- data/lib/selenium/devtools/v98/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v98/input.rb +0 -168
- data/lib/selenium/devtools/v98/inspector.rb +0 -51
- data/lib/selenium/devtools/v98/memory.rb +0 -82
- data/lib/selenium/devtools/v98/page.rb +0 -393
- data/lib/selenium/devtools/v98/performance.rb +0 -59
- data/lib/selenium/devtools/v98/profiler.rb +0 -95
- data/lib/selenium/devtools/v98/runtime.rb +0 -194
- data/lib/selenium/devtools/v98/storage.rb +0 -106
- data/lib/selenium/devtools/v98/system_info.rb +0 -46
- data/lib/selenium/devtools/v98/tracing.rb +0 -75
- data/lib/selenium/devtools/v98/web_audio.rb +0 -66
- data/lib/selenium/devtools/v98/web_authn.rb +0 -96
- data/lib/selenium/devtools/v98.rb +0 -1
- data/lib/selenium/devtools/v99/animation.rb +0 -94
- data/lib/selenium/devtools/v99/audits.rb +0 -62
- data/lib/selenium/devtools/v99/background_service.rb +0 -63
- data/lib/selenium/devtools/v99/browser.rb +0 -135
- data/lib/selenium/devtools/v99/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v99/console.rb +0 -53
- data/lib/selenium/devtools/v99/css.rb +0 -182
- data/lib/selenium/devtools/v99/database.rb +0 -60
- data/lib/selenium/devtools/v99/debugger.rb +0 -220
- data/lib/selenium/devtools/v99/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v99/dom.rb +0 -334
- data/lib/selenium/devtools/v99/dom_debugger.rb +0 -94
- data/lib/selenium/devtools/v99/dom_snapshot.rb +0 -63
- data/lib/selenium/devtools/v99/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v99/emulation.rb +0 -197
- data/lib/selenium/devtools/v99/fetch.rb +0 -103
- data/lib/selenium/devtools/v99/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v99/heap_profiler.rb +0 -105
- data/lib/selenium/devtools/v99/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v99/input.rb +0 -168
- data/lib/selenium/devtools/v99/inspector.rb +0 -51
- data/lib/selenium/devtools/v99/io.rb +0 -55
- data/lib/selenium/devtools/v99/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v99/log.rb +0 -62
- data/lib/selenium/devtools/v99/media.rb +0 -53
- data/lib/selenium/devtools/v99/memory.rb +0 -82
- data/lib/selenium/devtools/v99/overlay.rb +0 -202
- data/lib/selenium/devtools/v99/performance.rb +0 -59
- data/lib/selenium/devtools/v99/performance_timeline.rb +0 -46
- data/lib/selenium/devtools/v99/profiler.rb +0 -95
- data/lib/selenium/devtools/v99/schema.rb +0 -42
- data/lib/selenium/devtools/v99/security.rb +0 -67
- data/lib/selenium/devtools/v99/service_worker.rb +0 -112
- data/lib/selenium/devtools/v99/system_info.rb +0 -46
- data/lib/selenium/devtools/v99/tethering.rb +0 -51
- data/lib/selenium/devtools/v99/tracing.rb +0 -75
- data/lib/selenium/devtools/v99/web_audio.rb +0 -66
- data/lib/selenium/devtools/v99/web_authn.rb +0 -96
- data/lib/selenium/devtools/v99.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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -86,8 +86,9 @@ module Selenium
|
|
|
86
86
|
searchId: search_id)
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
-
def enable
|
|
90
|
-
@devtools.send_cmd('DOM.enable'
|
|
89
|
+
def enable(include_whitespace: nil)
|
|
90
|
+
@devtools.send_cmd('DOM.enable',
|
|
91
|
+
includeWhitespace: include_whitespace)
|
|
91
92
|
end
|
|
92
93
|
|
|
93
94
|
def focus(node_id: nil, backend_node_id: nil, object_id: nil)
|
|
@@ -329,6 +330,6 @@ module Selenium
|
|
|
329
330
|
end
|
|
330
331
|
|
|
331
332
|
end # DOM
|
|
332
|
-
end #
|
|
333
|
+
end # V103
|
|
333
334
|
end # DevTools
|
|
334
335
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class DOMStorage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -69,7 +69,12 @@ 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
|
+
|
|
72
77
|
end # DOMStorage
|
|
73
|
-
end #
|
|
78
|
+
end # V103
|
|
74
79
|
end # DevTools
|
|
75
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 V103
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -153,12 +153,11 @@ module Selenium
|
|
|
153
153
|
maxTouchPoints: max_touch_points)
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
-
def set_virtual_time_policy(policy:, budget: nil, max_virtual_time_task_starvation_count: nil,
|
|
156
|
+
def set_virtual_time_policy(policy:, budget: nil, max_virtual_time_task_starvation_count: nil, initial_virtual_time: nil)
|
|
157
157
|
@devtools.send_cmd('Emulation.setVirtualTimePolicy',
|
|
158
158
|
policy: policy,
|
|
159
159
|
budget: budget,
|
|
160
160
|
maxVirtualTimeTaskStarvationCount: max_virtual_time_task_starvation_count,
|
|
161
|
-
waitForNavigation: wait_for_navigation,
|
|
162
161
|
initialVirtualTime: initial_virtual_time)
|
|
163
162
|
end
|
|
164
163
|
|
|
@@ -191,7 +190,12 @@ module Selenium
|
|
|
191
190
|
userAgentMetadata: user_agent_metadata)
|
|
192
191
|
end
|
|
193
192
|
|
|
193
|
+
def set_automation_override(enabled:)
|
|
194
|
+
@devtools.send_cmd('Emulation.setAutomationOverride',
|
|
195
|
+
enabled: enabled)
|
|
196
|
+
end
|
|
197
|
+
|
|
194
198
|
end # Emulation
|
|
195
|
-
end #
|
|
199
|
+
end # V103
|
|
196
200
|
end # DevTools
|
|
197
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 V103
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,6 +43,6 @@ module Selenium
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
end # EventBreakpoints
|
|
46
|
-
end #
|
|
46
|
+
end # V103
|
|
47
47
|
end # DevTools
|
|
48
48
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class HeadlessExperimental
|
|
25
25
|
EVENTS = {
|
|
26
26
|
needs_begin_frames_changed: 'needsBeginFramesChanged',
|
|
@@ -52,6 +52,6 @@ module Selenium
|
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
end # HeadlessExperimental
|
|
55
|
-
end #
|
|
55
|
+
end # V103
|
|
56
56
|
end # DevTools
|
|
57
57
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V103
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -85,21 +85,23 @@ module Selenium
|
|
|
85
85
|
@devtools.send_cmd('HeapProfiler.stopSampling')
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
|
|
88
|
+
def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil, expose_internals: nil)
|
|
89
89
|
@devtools.send_cmd('HeapProfiler.stopTrackingHeapObjects',
|
|
90
90
|
reportProgress: report_progress,
|
|
91
91
|
treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
|
|
92
|
-
captureNumericValue: capture_numeric_value
|
|
92
|
+
captureNumericValue: capture_numeric_value,
|
|
93
|
+
exposeInternals: expose_internals)
|
|
93
94
|
end
|
|
94
95
|
|
|
95
|
-
def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
|
|
96
|
+
def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil, expose_internals: nil)
|
|
96
97
|
@devtools.send_cmd('HeapProfiler.takeHeapSnapshot',
|
|
97
98
|
reportProgress: report_progress,
|
|
98
99
|
treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
|
|
99
|
-
captureNumericValue: capture_numeric_value
|
|
100
|
+
captureNumericValue: capture_numeric_value,
|
|
101
|
+
exposeInternals: expose_internals)
|
|
100
102
|
end
|
|
101
103
|
|
|
102
104
|
end # HeapProfiler
|
|
103
|
-
end #
|
|
105
|
+
end # V103
|
|
104
106
|
end # DevTools
|
|
105
107
|
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 V103
|
|
24
24
|
class IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -91,6 +91,6 @@ module Selenium
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
end # IndexedDB
|
|
94
|
-
end #
|
|
94
|
+
end # V103
|
|
95
95
|
end # DevTools
|
|
96
96
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -43,6 +43,7 @@ module Selenium
|
|
|
43
43
|
javascript_dialog_opening: 'javascriptDialogOpening',
|
|
44
44
|
lifecycle_event: 'lifecycleEvent',
|
|
45
45
|
back_forward_cache_not_used: 'backForwardCacheNotUsed',
|
|
46
|
+
prerender_attempt_completed: 'prerenderAttemptCompleted',
|
|
46
47
|
load_event_fired: 'loadEventFired',
|
|
47
48
|
navigated_within_document: 'navigatedWithinDocument',
|
|
48
49
|
screencast_frame: 'screencastFrame',
|
|
@@ -189,7 +190,7 @@ module Selenium
|
|
|
189
190
|
entryId: entry_id)
|
|
190
191
|
end
|
|
191
192
|
|
|
192
|
-
def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil,
|
|
193
|
+
def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil)
|
|
193
194
|
@devtools.send_cmd('Page.printToPDF',
|
|
194
195
|
landscape: landscape,
|
|
195
196
|
displayHeaderFooter: display_header_footer,
|
|
@@ -202,7 +203,6 @@ module Selenium
|
|
|
202
203
|
marginLeft: margin_left,
|
|
203
204
|
marginRight: margin_right,
|
|
204
205
|
pageRanges: page_ranges,
|
|
205
|
-
ignoreInvalidPageRanges: ignore_invalid_page_ranges,
|
|
206
206
|
headerTemplate: header_template,
|
|
207
207
|
footerTemplate: footer_template,
|
|
208
208
|
preferCSSPageSize: prefer_css_page_size,
|
|
@@ -282,9 +282,10 @@ module Selenium
|
|
|
282
282
|
gamma: gamma)
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
-
def set_font_families(font_families:)
|
|
285
|
+
def set_font_families(font_families:, for_scripts: nil)
|
|
286
286
|
@devtools.send_cmd('Page.setFontFamilies',
|
|
287
|
-
fontFamilies: font_families
|
|
287
|
+
fontFamilies: font_families,
|
|
288
|
+
forScripts: for_scripts)
|
|
288
289
|
end
|
|
289
290
|
|
|
290
291
|
def set_font_sizes(font_sizes:)
|
|
@@ -388,6 +389,6 @@ module Selenium
|
|
|
388
389
|
end
|
|
389
390
|
|
|
390
391
|
end # Page
|
|
391
|
-
end #
|
|
392
|
+
end # V103
|
|
392
393
|
end # DevTools
|
|
393
394
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -49,7 +49,7 @@ module Selenium
|
|
|
49
49
|
generatePreview: generate_preview)
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil)
|
|
52
|
+
def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil, generate_web_driver_value: nil)
|
|
53
53
|
@devtools.send_cmd('Runtime.callFunctionOn',
|
|
54
54
|
functionDeclaration: function_declaration,
|
|
55
55
|
objectId: object_id,
|
|
@@ -61,7 +61,8 @@ module Selenium
|
|
|
61
61
|
awaitPromise: await_promise,
|
|
62
62
|
executionContextId: execution_context_id,
|
|
63
63
|
objectGroup: object_group,
|
|
64
|
-
throwOnSideEffect: throw_on_side_effect
|
|
64
|
+
throwOnSideEffect: throw_on_side_effect,
|
|
65
|
+
generateWebDriverValue: generate_web_driver_value)
|
|
65
66
|
end
|
|
66
67
|
|
|
67
68
|
def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
|
|
@@ -84,7 +85,7 @@ module Selenium
|
|
|
84
85
|
@devtools.send_cmd('Runtime.enable')
|
|
85
86
|
end
|
|
86
87
|
|
|
87
|
-
def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil)
|
|
88
|
+
def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, generate_web_driver_value: nil)
|
|
88
89
|
@devtools.send_cmd('Runtime.evaluate',
|
|
89
90
|
expression: expression,
|
|
90
91
|
objectGroup: object_group,
|
|
@@ -100,7 +101,8 @@ module Selenium
|
|
|
100
101
|
disableBreaks: disable_breaks,
|
|
101
102
|
replMode: repl_mode,
|
|
102
103
|
allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
|
|
103
|
-
uniqueContextId: unique_context_id
|
|
104
|
+
uniqueContextId: unique_context_id,
|
|
105
|
+
generateWebDriverValue: generate_web_driver_value)
|
|
104
106
|
end
|
|
105
107
|
|
|
106
108
|
def get_isolate_id
|
|
@@ -188,7 +190,12 @@ module Selenium
|
|
|
188
190
|
name: name)
|
|
189
191
|
end
|
|
190
192
|
|
|
193
|
+
def get_exception_details(error_object_id:)
|
|
194
|
+
@devtools.send_cmd('Runtime.getExceptionDetails',
|
|
195
|
+
errorObjectId: error_object_id)
|
|
196
|
+
end
|
|
197
|
+
|
|
191
198
|
end # Runtime
|
|
192
|
-
end #
|
|
199
|
+
end # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
111
111
|
end # DevTools
|
|
112
112
|
end # Selenium
|
|
@@ -20,13 +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 V103
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
27
27
|
cache_storage_list_updated: 'cacheStorageListUpdated',
|
|
28
28
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
|
29
29
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
|
30
|
+
interest_group_accessed: 'interestGroupAccessed',
|
|
30
31
|
}.freeze
|
|
31
32
|
|
|
32
33
|
def initialize(devtools)
|
|
@@ -100,7 +101,18 @@ module Selenium
|
|
|
100
101
|
issuerOrigin: issuer_origin)
|
|
101
102
|
end
|
|
102
103
|
|
|
104
|
+
def get_interest_group_details(owner_origin:, name:)
|
|
105
|
+
@devtools.send_cmd('Storage.getInterestGroupDetails',
|
|
106
|
+
ownerOrigin: owner_origin,
|
|
107
|
+
name: name)
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def set_interest_group_tracking(enable:)
|
|
111
|
+
@devtools.send_cmd('Storage.setInterestGroupTracking',
|
|
112
|
+
enable: enable)
|
|
113
|
+
end
|
|
114
|
+
|
|
103
115
|
end # Storage
|
|
104
|
-
end #
|
|
116
|
+
end # V103
|
|
105
117
|
end # DevTools
|
|
106
118
|
end # Selenium
|