selenium-devtools 0.101.0 → 0.102.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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v99 → v102}/accessibility.rb +3 -4
  3. data/lib/selenium/devtools/{v99 → v102}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v99 → v102}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v99 → v102}/background_service.rb +2 -2
  6. data/lib/selenium/devtools/{v99 → v102}/browser.rb +2 -2
  7. data/lib/selenium/devtools/{v99 → v102}/cache_storage.rb +2 -2
  8. data/lib/selenium/devtools/{v99 → v102}/cast.rb +2 -2
  9. data/lib/selenium/devtools/{v99 → v102}/console.rb +2 -2
  10. data/lib/selenium/devtools/{v99 → v102}/css.rb +14 -2
  11. data/lib/selenium/devtools/{v99 → v102}/database.rb +2 -2
  12. data/lib/selenium/devtools/{v99 → v102}/debugger.rb +2 -2
  13. data/lib/selenium/devtools/{v99 → v102}/device_orientation.rb +2 -2
  14. data/lib/selenium/devtools/{v99 → v102}/dom.rb +5 -4
  15. data/lib/selenium/devtools/{v99 → v102}/dom_debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v99 → v102}/dom_snapshot.rb +2 -2
  17. data/lib/selenium/devtools/{v99 → v102}/dom_storage.rb +2 -2
  18. data/lib/selenium/devtools/{v99 → v102}/emulation.rb +8 -4
  19. data/lib/selenium/devtools/{v99 → v102}/event_breakpoints.rb +2 -2
  20. data/lib/selenium/devtools/{v99 → v102}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v99 → v102}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v99 → v102}/heap_profiler.rb +2 -2
  23. data/lib/selenium/devtools/{v99 → v102}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v99 → v102}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v99 → v102}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v99 → v102}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v99 → v102}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v99 → v102}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v99 → v102}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v99 → v102}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v99 → v102}/network.rb +2 -2
  32. data/lib/selenium/devtools/{v99 → v102}/overlay.rb +2 -2
  33. data/lib/selenium/devtools/{v99 → v102}/page.rb +3 -2
  34. data/lib/selenium/devtools/{v99 → v102}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v99 → v102}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v99 → v102}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v99 → v102}/runtime.rb +8 -6
  38. data/lib/selenium/devtools/{v99 → v102}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v99 → v102}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v99 → v102}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v99 → v102}/storage.rb +2 -2
  42. data/lib/selenium/devtools/{v99 → v102}/system_info.rb +2 -2
  43. data/lib/selenium/devtools/{v99 → v102}/target.rb +2 -2
  44. data/lib/selenium/devtools/{v99 → v102}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v99 → v102}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v99 → v102}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v99 → v102}/web_authn.rb +2 -2
  48. data/lib/selenium/devtools/v102.rb +1 -0
  49. data/lib/selenium/devtools/version.rb +1 -1
  50. metadata +50 -50
  51. data/lib/selenium/devtools/v99.rb +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6dbe5fc5529f44b609c399e2c97747f8eca7cd7ae50f6b316fe48e8366b9390
4
- data.tar.gz: b6945f0e227701948e7aa349a5b39b02554fc6606e3a3606be144f50eb824d0d
3
+ metadata.gz: df391f70e9573a6684794be875adb6ca1f5f2a9bcccc8747f1d2d418c34d500f
4
+ data.tar.gz: 2e308489940a91339ee813dbce120b9af89b6c03d0c69ad44382419dc83e8fa1
5
5
  SHA512:
6
- metadata.gz: 997c70c0974b27a351a30fe9ec270d79324121043fec37af887e056cd132aacfbe5faf81bd6ba9cb20aef63dc3d42297f50b89f809ce589efe2e0673f516773a
7
- data.tar.gz: 150a33ec4e306fdb43e933159b8310c393f58a42b0a0373491852ab9e0cee650bec515026cc25a88b067f6f95fd31b8490e8d54431a12ef40cc4bad4cbada01e
6
+ metadata.gz: 322fcf254549fd55e6dd9a79350cb71208ab10d750d77fc4613bcc2a716d93be642b28fd1f2e8123fd1731d63902e50c596faba67a50cceb229fee37a4c0ae3c
7
+ data.tar.gz: a0d01afdd95ad41f743cc3d1ffa7b3c07c078796e6e3b8af27da6ad23d680c06ac6775227402bba473870649a889ea2f321c4fca75d249241de5f37007539992
@@ -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 V99
23
+ module V102
24
24
  class Accessibility
25
25
  EVENTS = {
26
26
  load_complete: 'loadComplete',
@@ -52,10 +52,9 @@ module Selenium
52
52
  fetchRelatives: fetch_relatives)
53
53
  end
54
54
 
55
- def get_full_ax_tree(depth: nil, max_depth: nil, frame_id: nil)
55
+ def get_full_ax_tree(depth: nil, frame_id: nil)
56
56
  @devtools.send_cmd('Accessibility.getFullAXTree',
57
57
  depth: depth,
58
- max_depth: max_depth,
59
58
  frameId: frame_id)
60
59
  end
61
60
 
@@ -87,6 +86,6 @@ module Selenium
87
86
  end
88
87
 
89
88
  end # Accessibility
90
- end # V99
89
+ end # V102
91
90
  end # DevTools
92
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 V99
23
+ module V102
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
@@ -89,6 +89,6 @@ module Selenium
89
89
  end
90
90
 
91
91
  end # Animation
92
- end # V99
92
+ end # V102
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 V99
23
+ module V102
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Audits
60
- end # V99
60
+ end # V102
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 V99
23
+ module V102
24
24
  class BackgroundService
25
25
  EVENTS = {
26
26
  recording_state_changed: 'recordingStateChanged',
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # BackgroundService
61
- end # V99
61
+ end # V102
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 V99
23
+ module V102
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -130,6 +130,6 @@ module Selenium
130
130
  end
131
131
 
132
132
  end # Browser
133
- end # V99
133
+ end # V102
134
134
  end # DevTools
135
135
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V99
23
+ module V102
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -64,6 +64,6 @@ module Selenium
64
64
  end
65
65
 
66
66
  end # CacheStorage
67
- end # V99
67
+ end # V102
68
68
  end # DevTools
69
69
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V99
23
+ module V102
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 # V99
69
+ end # V102
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 V99
23
+ module V102
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 # V99
51
+ end # V102
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 V99
23
+ module V102
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -104,6 +104,11 @@ module Selenium
104
104
  styleSheetId: style_sheet_id)
105
105
  end
106
106
 
107
+ def get_layers_for_node(node_id:)
108
+ @devtools.send_cmd('CSS.getLayersForNode',
109
+ nodeId: node_id)
110
+ end
111
+
107
112
  def track_computed_style_updates(properties_to_track:)
108
113
  @devtools.send_cmd('CSS.trackComputedStyleUpdates',
109
114
  propertiesToTrack: properties_to_track)
@@ -141,6 +146,13 @@ module Selenium
141
146
  text: text)
142
147
  end
143
148
 
149
+ def set_supports_text(style_sheet_id:, range:, text:)
150
+ @devtools.send_cmd('CSS.setSupportsText',
151
+ styleSheetId: style_sheet_id,
152
+ range: range,
153
+ text: text)
154
+ end
155
+
144
156
  def set_rule_selector(style_sheet_id:, range:, selector:)
145
157
  @devtools.send_cmd('CSS.setRuleSelector',
146
158
  styleSheetId: style_sheet_id,
@@ -177,6 +189,6 @@ module Selenium
177
189
  end
178
190
 
179
191
  end # CSS
180
- end # V99
192
+ end # V102
181
193
  end # DevTools
182
194
  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 V99
23
+ module V102
24
24
  class Database
25
25
  EVENTS = {
26
26
  add_database: 'addDatabase',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # Database
58
- end # V99
58
+ end # V102
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 V99
23
+ module V102
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -215,6 +215,6 @@ module Selenium
215
215
  end
216
216
 
217
217
  end # Debugger
218
- end # V99
218
+ end # V102
219
219
  end # DevTools
220
220
  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 V99
23
+ module V102
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 # V99
47
+ end # V102
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 V99
23
+ module V102
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 # V99
333
+ end # V102
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 V99
23
+ module V102
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 # V99
92
+ end # V102
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 V99
23
+ module V102
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 # V99
61
+ end # V102
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 V99
23
+ module V102
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 # V99
73
+ end # V102
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 V99
23
+ module V102
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, wait_for_navigation: nil, initial_virtual_time: 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 # V99
199
+ end # V102
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 V99
23
+ module V102
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 # V99
46
+ end # V102
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 V99
23
+ module V102
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 # V99
101
+ end # V102
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 V99
23
+ module V102
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 # V99
55
+ end # V102
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 V99
23
+ module V102
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -100,6 +100,6 @@ module Selenium
100
100
  end
101
101
 
102
102
  end # HeapProfiler
103
- end # V99
103
+ end # V102
104
104
  end # DevTools
105
105
  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 V99
23
+ module V102
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 # V99
94
+ end # V102
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 V99
23
+ module V102
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 # V99
166
+ end # V102
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 V99
23
+ module V102
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 # V99
49
+ end # V102
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 V99
23
+ module V102
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 # V99
53
+ end # V102
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 V99
23
+ module V102
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 # V99
89
+ end # V102
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 V99
23
+ module V102
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 # V99
60
+ end # V102
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 V99
23
+ module V102
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 # V99
51
+ end # V102
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 V99
23
+ module V102
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 # V99
80
+ end # V102
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 V99
23
+ module V102
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 # V99
262
+ end # V102
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 V99
23
+ module V102
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 # V99
200
+ end # V102
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 V99
23
+ module V102
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',
@@ -389,6 +390,6 @@ module Selenium
389
390
  end
390
391
 
391
392
  end # Page
392
- end # V99
393
+ end # V102
393
394
  end # DevTools
394
395
  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 V99
23
+ module V102
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 # V99
57
+ end # V102
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 V99
23
+ module V102
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 # V99
44
+ end # V102
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 V99
23
+ module V102
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 # V99
93
+ end # V102
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 V99
23
+ module V102
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
@@ -194,6 +196,6 @@ module Selenium
194
196
  end
195
197
 
196
198
  end # Runtime
197
- end # V99
199
+ end # V102
198
200
  end # DevTools
199
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 V99
23
+ module V102
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 # V99
40
+ end # V102
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 V99
23
+ module V102
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 # V99
65
+ end # V102
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 V99
23
+ module V102
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 # V99
110
+ end # V102
111
111
  end # DevTools
112
112
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V99
23
+ module V102
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -113,6 +113,6 @@ module Selenium
113
113
  end
114
114
 
115
115
  end # Storage
116
- end # V99
116
+ end # V102
117
117
  end # DevTools
118
118
  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 V99
23
+ module V102
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # SystemInfo
44
- end # V99
44
+ end # V102
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 V99
23
+ module V102
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -141,6 +141,6 @@ module Selenium
141
141
  end
142
142
 
143
143
  end # Target
144
- end # V99
144
+ end # V102
145
145
  end # DevTools
146
146
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V99
23
+ module V102
24
24
  class Tethering
25
25
  EVENTS = {
26
26
  accepted: 'accepted',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Tethering
49
- end # V99
49
+ end # V102
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 V99
23
+ module V102
24
24
  class Tracing
25
25
  EVENTS = {
26
26
  buffer_usage: 'bufferUsage',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # Tracing
73
- end # V99
73
+ end # V102
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 V99
23
+ module V102
24
24
  class WebAudio
25
25
  EVENTS = {
26
26
  context_created: 'contextCreated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # WebAudio
64
- end # V99
64
+ end # V102
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V99
23
+ module V102
24
24
  class WebAuthn
25
25
 
26
26
  def initialize(devtools)
@@ -91,6 +91,6 @@ module Selenium
91
91
  end
92
92
 
93
93
  end # WebAuthn
94
- end # V99
94
+ end # V102
95
95
  end # DevTools
96
96
  end # Selenium
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v102/*", &method(:require))
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.101.0'
22
+ VERSION = '0.102.0'
23
23
  end # DevTools
24
24
  end # Selenium
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.101.0
4
+ version: 0.102.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-05-04 00:00:00.000000000 Z
13
+ date: 2022-05-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: websocket
@@ -136,6 +136,53 @@ files:
136
136
  - lib/selenium/devtools/v101/tracing.rb
137
137
  - lib/selenium/devtools/v101/web_audio.rb
138
138
  - lib/selenium/devtools/v101/web_authn.rb
139
+ - lib/selenium/devtools/v102.rb
140
+ - lib/selenium/devtools/v102/accessibility.rb
141
+ - lib/selenium/devtools/v102/animation.rb
142
+ - lib/selenium/devtools/v102/audits.rb
143
+ - lib/selenium/devtools/v102/background_service.rb
144
+ - lib/selenium/devtools/v102/browser.rb
145
+ - lib/selenium/devtools/v102/cache_storage.rb
146
+ - lib/selenium/devtools/v102/cast.rb
147
+ - lib/selenium/devtools/v102/console.rb
148
+ - lib/selenium/devtools/v102/css.rb
149
+ - lib/selenium/devtools/v102/database.rb
150
+ - lib/selenium/devtools/v102/debugger.rb
151
+ - lib/selenium/devtools/v102/device_orientation.rb
152
+ - lib/selenium/devtools/v102/dom.rb
153
+ - lib/selenium/devtools/v102/dom_debugger.rb
154
+ - lib/selenium/devtools/v102/dom_snapshot.rb
155
+ - lib/selenium/devtools/v102/dom_storage.rb
156
+ - lib/selenium/devtools/v102/emulation.rb
157
+ - lib/selenium/devtools/v102/event_breakpoints.rb
158
+ - lib/selenium/devtools/v102/fetch.rb
159
+ - lib/selenium/devtools/v102/headless_experimental.rb
160
+ - lib/selenium/devtools/v102/heap_profiler.rb
161
+ - lib/selenium/devtools/v102/indexed_db.rb
162
+ - lib/selenium/devtools/v102/input.rb
163
+ - lib/selenium/devtools/v102/inspector.rb
164
+ - lib/selenium/devtools/v102/io.rb
165
+ - lib/selenium/devtools/v102/layer_tree.rb
166
+ - lib/selenium/devtools/v102/log.rb
167
+ - lib/selenium/devtools/v102/media.rb
168
+ - lib/selenium/devtools/v102/memory.rb
169
+ - lib/selenium/devtools/v102/network.rb
170
+ - lib/selenium/devtools/v102/overlay.rb
171
+ - lib/selenium/devtools/v102/page.rb
172
+ - lib/selenium/devtools/v102/performance.rb
173
+ - lib/selenium/devtools/v102/performance_timeline.rb
174
+ - lib/selenium/devtools/v102/profiler.rb
175
+ - lib/selenium/devtools/v102/runtime.rb
176
+ - lib/selenium/devtools/v102/schema.rb
177
+ - lib/selenium/devtools/v102/security.rb
178
+ - lib/selenium/devtools/v102/service_worker.rb
179
+ - lib/selenium/devtools/v102/storage.rb
180
+ - lib/selenium/devtools/v102/system_info.rb
181
+ - lib/selenium/devtools/v102/target.rb
182
+ - lib/selenium/devtools/v102/tethering.rb
183
+ - lib/selenium/devtools/v102/tracing.rb
184
+ - lib/selenium/devtools/v102/web_audio.rb
185
+ - lib/selenium/devtools/v102/web_authn.rb
139
186
  - lib/selenium/devtools/v85.rb
140
187
  - lib/selenium/devtools/v85/accessibility.rb
141
188
  - lib/selenium/devtools/v85/animation.rb
@@ -182,53 +229,6 @@ files:
182
229
  - lib/selenium/devtools/v85/tracing.rb
183
230
  - lib/selenium/devtools/v85/web_audio.rb
184
231
  - lib/selenium/devtools/v85/web_authn.rb
185
- - lib/selenium/devtools/v99.rb
186
- - lib/selenium/devtools/v99/accessibility.rb
187
- - lib/selenium/devtools/v99/animation.rb
188
- - lib/selenium/devtools/v99/audits.rb
189
- - lib/selenium/devtools/v99/background_service.rb
190
- - lib/selenium/devtools/v99/browser.rb
191
- - lib/selenium/devtools/v99/cache_storage.rb
192
- - lib/selenium/devtools/v99/cast.rb
193
- - lib/selenium/devtools/v99/console.rb
194
- - lib/selenium/devtools/v99/css.rb
195
- - lib/selenium/devtools/v99/database.rb
196
- - lib/selenium/devtools/v99/debugger.rb
197
- - lib/selenium/devtools/v99/device_orientation.rb
198
- - lib/selenium/devtools/v99/dom.rb
199
- - lib/selenium/devtools/v99/dom_debugger.rb
200
- - lib/selenium/devtools/v99/dom_snapshot.rb
201
- - lib/selenium/devtools/v99/dom_storage.rb
202
- - lib/selenium/devtools/v99/emulation.rb
203
- - lib/selenium/devtools/v99/event_breakpoints.rb
204
- - lib/selenium/devtools/v99/fetch.rb
205
- - lib/selenium/devtools/v99/headless_experimental.rb
206
- - lib/selenium/devtools/v99/heap_profiler.rb
207
- - lib/selenium/devtools/v99/indexed_db.rb
208
- - lib/selenium/devtools/v99/input.rb
209
- - lib/selenium/devtools/v99/inspector.rb
210
- - lib/selenium/devtools/v99/io.rb
211
- - lib/selenium/devtools/v99/layer_tree.rb
212
- - lib/selenium/devtools/v99/log.rb
213
- - lib/selenium/devtools/v99/media.rb
214
- - lib/selenium/devtools/v99/memory.rb
215
- - lib/selenium/devtools/v99/network.rb
216
- - lib/selenium/devtools/v99/overlay.rb
217
- - lib/selenium/devtools/v99/page.rb
218
- - lib/selenium/devtools/v99/performance.rb
219
- - lib/selenium/devtools/v99/performance_timeline.rb
220
- - lib/selenium/devtools/v99/profiler.rb
221
- - lib/selenium/devtools/v99/runtime.rb
222
- - lib/selenium/devtools/v99/schema.rb
223
- - lib/selenium/devtools/v99/security.rb
224
- - lib/selenium/devtools/v99/service_worker.rb
225
- - lib/selenium/devtools/v99/storage.rb
226
- - lib/selenium/devtools/v99/system_info.rb
227
- - lib/selenium/devtools/v99/target.rb
228
- - lib/selenium/devtools/v99/tethering.rb
229
- - lib/selenium/devtools/v99/tracing.rb
230
- - lib/selenium/devtools/v99/web_audio.rb
231
- - lib/selenium/devtools/v99/web_authn.rb
232
232
  - lib/selenium/devtools/version.rb
233
233
  - selenium-devtools.gemspec
234
234
  homepage: https://selenium.dev
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  - !ruby/object:Gem::Version
254
254
  version: 1.3.1
255
255
  requirements: []
256
- rubygems_version: 3.0.3.1
256
+ rubygems_version: 3.0.3
257
257
  signing_key:
258
258
  specification_version: 4
259
259
  summary: DevTools Code for use with Selenium
@@ -1 +0,0 @@
1
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v99/*", &method(:require))