selenium-devtools 0.101.0 → 0.103.1

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 (101) 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/{v100 → v102}/background_service.rb +2 -2
  6. data/lib/selenium/devtools/{v100 → v102}/browser.rb +2 -2
  7. data/lib/selenium/devtools/{v99 → v102}/cache_storage.rb +2 -2
  8. data/lib/selenium/devtools/{v100 → v102}/cast.rb +2 -2
  9. data/lib/selenium/devtools/{v99 → v102}/console.rb +2 -2
  10. data/lib/selenium/devtools/{v100 → v102}/css.rb +7 -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/{v100 → v102}/device_orientation.rb +2 -2
  14. data/lib/selenium/devtools/{v100 → v102}/dom.rb +2 -2
  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/{v100 → v102}/dom_storage.rb +2 -2
  18. data/lib/selenium/devtools/{v100 → v102}/emulation.rb +7 -2
  19. data/lib/selenium/devtools/{v99 → v102}/event_breakpoints.rb +2 -2
  20. data/lib/selenium/devtools/{v100 → v102}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v100 → v102}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v100 → v102}/heap_profiler.rb +2 -2
  23. data/lib/selenium/devtools/{v99 → v102}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v100 → v102}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v99 → v102}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v100 → 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/{v100 → v102}/overlay.rb +2 -2
  33. data/lib/selenium/devtools/{v100 → v102}/page.rb +3 -2
  34. data/lib/selenium/devtools/{v100 → v102}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v99 → v102}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v100 → 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/{v100 → v102}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v99 → v102}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v100 → 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/{v100 → v102}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v100 → v102}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v100 → v102}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v100 → v102}/web_authn.rb +2 -2
  48. data/lib/selenium/devtools/v102.rb +1 -0
  49. data/lib/selenium/devtools/{v100 → v103}/accessibility.rb +3 -4
  50. data/lib/selenium/devtools/{v100 → v103}/animation.rb +2 -2
  51. data/lib/selenium/devtools/{v100 → v103}/audits.rb +2 -2
  52. data/lib/selenium/devtools/{v99 → v103}/background_service.rb +2 -2
  53. data/lib/selenium/devtools/{v99 → v103}/browser.rb +2 -2
  54. data/lib/selenium/devtools/{v100 → v103}/cache_storage.rb +2 -2
  55. data/lib/selenium/devtools/{v99 → v103}/cast.rb +2 -2
  56. data/lib/selenium/devtools/{v100 → v103}/console.rb +2 -2
  57. data/lib/selenium/devtools/{v99 → v103}/css.rb +14 -2
  58. data/lib/selenium/devtools/{v100 → v103}/database.rb +2 -2
  59. data/lib/selenium/devtools/{v100 → v103}/debugger.rb +2 -2
  60. data/lib/selenium/devtools/{v99 → v103}/device_orientation.rb +2 -2
  61. data/lib/selenium/devtools/{v99 → v103}/dom.rb +5 -4
  62. data/lib/selenium/devtools/{v100 → v103}/dom_debugger.rb +2 -2
  63. data/lib/selenium/devtools/{v100 → v103}/dom_snapshot.rb +2 -2
  64. data/lib/selenium/devtools/{v99 → v103}/dom_storage.rb +7 -2
  65. data/lib/selenium/devtools/{v99 → v103}/emulation.rb +8 -4
  66. data/lib/selenium/devtools/{v100 → v103}/event_breakpoints.rb +2 -2
  67. data/lib/selenium/devtools/{v99 → v103}/fetch.rb +2 -2
  68. data/lib/selenium/devtools/{v99 → v103}/headless_experimental.rb +2 -2
  69. data/lib/selenium/devtools/{v99 → v103}/heap_profiler.rb +8 -6
  70. data/lib/selenium/devtools/{v100 → v103}/indexed_db.rb +2 -2
  71. data/lib/selenium/devtools/{v99 → v103}/input.rb +2 -2
  72. data/lib/selenium/devtools/{v100 → v103}/inspector.rb +2 -2
  73. data/lib/selenium/devtools/{v99 → v103}/io.rb +2 -2
  74. data/lib/selenium/devtools/{v100 → v103}/layer_tree.rb +2 -2
  75. data/lib/selenium/devtools/{v100 → v103}/log.rb +2 -2
  76. data/lib/selenium/devtools/{v100 → v103}/media.rb +2 -2
  77. data/lib/selenium/devtools/{v100 → v103}/memory.rb +2 -2
  78. data/lib/selenium/devtools/{v100 → v103}/network.rb +2 -2
  79. data/lib/selenium/devtools/{v99 → v103}/overlay.rb +2 -2
  80. data/lib/selenium/devtools/{v99 → v103}/page.rb +4 -4
  81. data/lib/selenium/devtools/{v99 → v103}/performance.rb +2 -2
  82. data/lib/selenium/devtools/{v100 → v103}/performance_timeline.rb +2 -2
  83. data/lib/selenium/devtools/{v99 → v103}/profiler.rb +2 -2
  84. data/lib/selenium/devtools/{v100 → v103}/runtime.rb +8 -6
  85. data/lib/selenium/devtools/{v100 → v103}/schema.rb +2 -2
  86. data/lib/selenium/devtools/{v99 → v103}/security.rb +2 -2
  87. data/lib/selenium/devtools/{v100 → v103}/service_worker.rb +2 -2
  88. data/lib/selenium/devtools/{v99 → v103}/storage.rb +2 -2
  89. data/lib/selenium/devtools/{v100 → v103}/system_info.rb +2 -2
  90. data/lib/selenium/devtools/{v100 → v103}/target.rb +2 -2
  91. data/lib/selenium/devtools/{v99 → v103}/tethering.rb +2 -2
  92. data/lib/selenium/devtools/{v99 → v103}/tracing.rb +2 -2
  93. data/lib/selenium/devtools/{v99 → v103}/web_audio.rb +2 -2
  94. data/lib/selenium/devtools/{v99 → v103}/web_authn.rb +5 -4
  95. data/lib/selenium/devtools/v103.rb +1 -0
  96. data/lib/selenium/devtools/version.rb +1 -1
  97. data/lib/selenium/devtools.rb +0 -2
  98. data/selenium-devtools.gemspec +1 -1
  99. metadata +100 -100
  100. data/lib/selenium/devtools/v100.rb +0 -1
  101. 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 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 V100
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 # V100
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 V100
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 # V100
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 V100
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 # V100
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 V100
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 # V100
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 V100
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 # V100
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 V100
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 # V100
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))
@@ -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 V100
23
+ module V103
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 # V100
89
+ end # V103
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 V100
23
+ module V103
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 # V100
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 V100
23
+ module V103
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 # V100
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 V99
23
+ module V103
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 # 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 V99
23
+ module V103
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 # V103
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 V100
23
+ module V103
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 # V100
67
+ end # V103
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 V103
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 # V103
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 V100
23
+ module V103
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 # V100
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 V99
23
+ module V103
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 # V103
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 V100
23
+ module V103
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 # V100
58
+ end # V103
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 V100
23
+ module V103
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 # V100
218
+ end # V103
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 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 # V99
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 V99
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 # V99
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 V100
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 # V100
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 V100
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 # V100
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 V99
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 # V99
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 V99
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, 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 # 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 V100
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 # V100
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 V99
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 # V99
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 V99
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 # V99
55
+ end # V103
56
56
  end # DevTools
57
57
  end # Selenium