selenium-devtools 0.118.0 → 0.119.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v116 → v119}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v116 → v119}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v116 → v119}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v116 → v119}/autofill.rb +13 -2
  6. data/lib/selenium/devtools/{v116 → v119}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v116 → v119}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v116 → v119}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v116 → v119}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v116 → v119}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v116 → v119}/css.rb +9 -2
  12. data/lib/selenium/devtools/{v116 → v119}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v116 → v119}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v116 → v119}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v116 → v119}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v116 → v119}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v116 → v119}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v116 → v119}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v116 → v119}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v116 → v119}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v116 → v119}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v116 → v119}/fed_cm.rb +7 -2
  23. data/lib/selenium/devtools/{v116 → v119}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v116 → v119}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v116 → v119}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v116 → v119}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v116 → v119}/input.rb +6 -2
  28. data/lib/selenium/devtools/{v116 → v119}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v116 → v119}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v116 → v119}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v116 → v119}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v116 → v119}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v116 → v119}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v116 → v119}/network.rb +2 -2
  35. data/lib/selenium/devtools/{v116 → v119}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v116 → v119}/page.rb +8 -6
  37. data/lib/selenium/devtools/{v116 → v119}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v116 → v119}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v116 → v119}/preload.rb +2 -3
  40. data/lib/selenium/devtools/{v116 → v119}/profiler.rb +2 -2
  41. data/lib/selenium/devtools/{v116 → v119}/runtime.rb +4 -6
  42. data/lib/selenium/devtools/{v116 → v119}/schema.rb +2 -2
  43. data/lib/selenium/devtools/{v116 → v119}/security.rb +2 -2
  44. data/lib/selenium/devtools/{v116 → v119}/service_worker.rb +2 -2
  45. data/lib/selenium/devtools/{v116 → v119}/storage.rb +13 -2
  46. data/lib/selenium/devtools/{v116 → v119}/system_info.rb +2 -2
  47. data/lib/selenium/devtools/{v116 → v119}/target.rb +2 -2
  48. data/lib/selenium/devtools/{v116 → v119}/tethering.rb +2 -2
  49. data/lib/selenium/devtools/{v116 → v119}/tracing.rb +2 -2
  50. data/lib/selenium/devtools/{v116 → v119}/web_audio.rb +2 -2
  51. data/lib/selenium/devtools/{v116 → v119}/web_authn.rb +2 -2
  52. data/lib/selenium/devtools/{v116.rb → v119.rb} +3 -3
  53. data/lib/selenium/devtools/version.rb +1 -1
  54. metadata +53 -53
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 023faee7922c29f06b4b45e44cc7af6e266f139fd9308b7c04d6ab622a88deaa
4
- data.tar.gz: 84882b7a8f8e15d4ded5f37a0658e7efe41bc1fc8d207133d91a977886195c64
3
+ metadata.gz: ec236bb99216ede0d0cfdc62aaddc409f06204e301c033092a9784c647ae47ac
4
+ data.tar.gz: 7e884a66a58199bc811c76b435bb378df03b0686d56baec2e5b2374565d9cd52
5
5
  SHA512:
6
- metadata.gz: 952395ac212a91d1eade26e4a09929542af1f85c6d342f0e7abae10f6a75cd66ceea103560f69de07e928bbf58c2140ca56f90ef229cc51e6660e58945e58441
7
- data.tar.gz: 6cf4e726d6673029b9dd475360d4f6f58ba226f79cb6d6d7ff460b784ce79ffa1ff6cce282b6df2655d6b453f0ec7c168a9c6ccd7ce029c5c598c805ab708fcf
6
+ metadata.gz: 1c442977793c7b1f288541deff432f1e79920d2ea8edffbdb835059cd07a41189082bdd8f225f59f1cac9dbf362de3dfa315ab5d96b3e4470472d221dcf7cd39
7
+ data.tar.gz: 8d52d4232d3272ebedc733f0607849302e13e269d86fb031080a4017abebb5f677a83743c08faae12c49373c1f2eb6bcb8ac0b991770d54190711d14f351297e
@@ -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 V116
23
+ module V119
24
24
  class Accessibility
25
25
  EVENTS = {
26
26
  load_complete: 'loadComplete',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # Accessibility
89
- end # V116
89
+ end # V119
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 V116
23
+ module V119
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 # V116
92
+ end # V119
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 V116
23
+ module V119
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Audits
64
- end # V116
64
+ end # V119
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,8 +20,11 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V116
23
+ module V119
24
24
  class Autofill
25
+ EVENTS = {
26
+ address_form_filled: 'addressFormFilled',
27
+ }.freeze
25
28
 
26
29
  def initialize(devtools)
27
30
  @devtools = devtools
@@ -44,7 +47,15 @@ module Selenium
44
47
  addresses: addresses)
45
48
  end
46
49
 
50
+ def disable
51
+ @devtools.send_cmd('Autofill.disable')
52
+ end
53
+
54
+ def enable
55
+ @devtools.send_cmd('Autofill.enable')
56
+ end
57
+
47
58
  end # Autofill
48
- end # V116
59
+ end # V119
49
60
  end # DevTools
50
61
  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 V116
23
+ module V119
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 # V116
61
+ end # V119
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 V116
23
+ module V119
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -135,6 +135,6 @@ module Selenium
135
135
  end
136
136
 
137
137
  end # Browser
138
- end # V116
138
+ end # V119
139
139
  end # DevTools
140
140
  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 V116
23
+ module V119
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # CacheStorage
69
- end # V116
69
+ end # V119
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 V116
23
+ module V119
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 # V116
69
+ end # V119
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 V116
23
+ module V119
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 # V116
51
+ end # V119
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 V116
23
+ module V119
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -125,6 +125,13 @@ module Selenium
125
125
  value: value)
126
126
  end
127
127
 
128
+ def set_property_rule_property_name(style_sheet_id:, range:, property_name:)
129
+ @devtools.send_cmd('CSS.setPropertyRulePropertyName',
130
+ styleSheetId: style_sheet_id,
131
+ range: range,
132
+ propertyName: property_name)
133
+ end
134
+
128
135
  def set_keyframe_key(style_sheet_id:, range:, key_text:)
129
136
  @devtools.send_cmd('CSS.setKeyframeKey',
130
137
  styleSheetId: style_sheet_id,
@@ -196,6 +203,6 @@ module Selenium
196
203
  end
197
204
 
198
205
  end # CSS
199
- end # V116
206
+ end # V119
200
207
  end # DevTools
201
208
  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 V116
23
+ module V119
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 # V116
58
+ end # V119
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 V116
23
+ module V119
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -227,6 +227,6 @@ module Selenium
227
227
  end
228
228
 
229
229
  end # Debugger
230
- end # V116
230
+ end # V119
231
231
  end # DevTools
232
232
  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 V116
23
+ module V119
24
24
  class DeviceAccess
25
25
  EVENTS = {
26
26
  device_request_prompted: 'deviceRequestPrompted',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # DeviceAccess
58
- end # V116
58
+ end # V119
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 V116
23
+ module V119
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 # V116
47
+ end # V119
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 V116
23
+ module V119
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -337,6 +337,6 @@ module Selenium
337
337
  end
338
338
 
339
339
  end # DOM
340
- end # V116
340
+ end # V119
341
341
  end # DevTools
342
342
  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 V116
23
+ module V119
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 # V116
92
+ end # V119
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 V116
23
+ module V119
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 # V116
61
+ end # V119
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 V116
23
+ module V119
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 # V116
73
+ end # V119
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 V116
23
+ module V119
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -201,6 +201,6 @@ module Selenium
201
201
  end
202
202
 
203
203
  end # Emulation
204
- end # V116
204
+ end # V119
205
205
  end # DevTools
206
206
  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 V116
23
+ module V119
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 # V116
46
+ end # V119
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 V116
23
+ module V119
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
@@ -50,6 +50,11 @@ module Selenium
50
50
  accountIndex: account_index)
51
51
  end
52
52
 
53
+ def confirm_idp_login(dialog_id:)
54
+ @devtools.send_cmd('FedCm.confirmIdpLogin',
55
+ dialogId: dialog_id)
56
+ end
57
+
53
58
  def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
54
59
  @devtools.send_cmd('FedCm.dismissDialog',
55
60
  dialogId: dialog_id,
@@ -61,6 +66,6 @@ module Selenium
61
66
  end
62
67
 
63
68
  end # FedCm
64
- end # V116
69
+ end # V119
65
70
  end # DevTools
66
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 V116
23
+ module V119
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 # V116
101
+ end # V119
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 V116
23
+ module V119
24
24
  class HeadlessExperimental
25
25
 
26
26
  def initialize(devtools)
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # HeadlessExperimental
52
- end # V116
52
+ end # V119
53
53
  end # DevTools
54
54
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V116
23
+ module V119
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -104,6 +104,6 @@ module Selenium
104
104
  end
105
105
 
106
106
  end # HeapProfiler
107
- end # V116
107
+ end # V119
108
108
  end # DevTools
109
109
  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 V116
23
+ module V119
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -105,6 +105,6 @@ module Selenium
105
105
  end
106
106
 
107
107
  end # IndexedDB
108
- end # V116
108
+ end # V119
109
109
  end # DevTools
110
110
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V116
23
+ module V119
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -105,6 +105,10 @@ module Selenium
105
105
  timestamp: timestamp)
106
106
  end
107
107
 
108
+ def cancel_dragging
109
+ @devtools.send_cmd('Input.cancelDragging')
110
+ end
111
+
108
112
  def emulate_touch_from_mouse_event(type:, x:, y:, button:, timestamp: nil, delta_x: nil, delta_y: nil, modifiers: nil, click_count: nil)
109
113
  @devtools.send_cmd('Input.emulateTouchFromMouseEvent',
110
114
  type: type,
@@ -163,6 +167,6 @@ module Selenium
163
167
  end
164
168
 
165
169
  end # Input
166
- end # V116
170
+ end # V119
167
171
  end # DevTools
168
172
  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 V116
23
+ module V119
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 # V116
49
+ end # V119
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 V116
23
+ module V119
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 # V116
53
+ end # V119
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 V116
23
+ module V119
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 # V116
89
+ end # V119
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 V116
23
+ module V119
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 # V116
60
+ end # V119
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 V116
23
+ module V119
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 # V116
51
+ end # V119
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 V116
23
+ module V119
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 # V116
80
+ end # V119
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 V116
23
+ module V119
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 # V116
262
+ end # V119
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 V116
23
+ module V119
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 # V116
200
+ end # V119
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 V116
23
+ module V119
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -65,11 +65,12 @@ module Selenium
65
65
  scriptSource: script_source)
66
66
  end
67
67
 
68
- def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil)
68
+ def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil, run_immediately: nil)
69
69
  @devtools.send_cmd('Page.addScriptToEvaluateOnNewDocument',
70
70
  source: source,
71
71
  worldName: world_name,
72
- includeCommandLineAPI: include_command_line_api)
72
+ includeCommandLineAPI: include_command_line_api,
73
+ runImmediately: run_immediately)
73
74
  end
74
75
 
75
76
  def bring_to_front
@@ -195,7 +196,7 @@ module Selenium
195
196
  entryId: entry_id)
196
197
  end
197
198
 
198
- 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)
199
+ 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, generate_tagged_pdf: nil)
199
200
  @devtools.send_cmd('Page.printToPDF',
200
201
  landscape: landscape,
201
202
  displayHeaderFooter: display_header_footer,
@@ -211,7 +212,8 @@ module Selenium
211
212
  headerTemplate: header_template,
212
213
  footerTemplate: footer_template,
213
214
  preferCSSPageSize: prefer_css_page_size,
214
- transferMode: transfer_mode)
215
+ transferMode: transfer_mode,
216
+ generateTaggedPDF: generate_tagged_pdf)
215
217
  end
216
218
 
217
219
  def reload(ignore_cache: nil, script_to_evaluate_on_load: nil)
@@ -404,6 +406,6 @@ module Selenium
404
406
  end
405
407
 
406
408
  end # Page
407
- end # V116
409
+ end # V119
408
410
  end # DevTools
409
411
  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 V116
23
+ module V119
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 # V116
57
+ end # V119
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 V116
23
+ module V119
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 # V116
44
+ end # V119
45
45
  end # DevTools
46
46
  end # Selenium
@@ -20,12 +20,11 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V116
23
+ module V119
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
27
27
  rule_set_removed: 'ruleSetRemoved',
28
- prerender_attempt_completed: 'prerenderAttemptCompleted',
29
28
  preload_enabled_state_updated: 'preloadEnabledStateUpdated',
30
29
  prefetch_status_updated: 'prefetchStatusUpdated',
31
30
  prerender_status_updated: 'prerenderStatusUpdated',
@@ -50,6 +49,6 @@ module Selenium
50
49
  end
51
50
 
52
51
  end # Preload
53
- end # V116
52
+ end # V119
54
53
  end # DevTools
55
54
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V116
23
+ module V119
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -78,6 +78,6 @@ module Selenium
78
78
  end
79
79
 
80
80
  end # Profiler
81
- end # V116
81
+ end # V119
82
82
  end # DevTools
83
83
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V116
23
+ module V119
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, unique_context_id: nil, generate_web_driver_value: nil, serialization_options: 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, unique_context_id: nil, serialization_options: nil)
53
53
  @devtools.send_cmd('Runtime.callFunctionOn',
54
54
  functionDeclaration: function_declaration,
55
55
  objectId: object_id,
@@ -63,7 +63,6 @@ module Selenium
63
63
  objectGroup: object_group,
64
64
  throwOnSideEffect: throw_on_side_effect,
65
65
  uniqueContextId: unique_context_id,
66
- generateWebDriverValue: generate_web_driver_value,
67
66
  serializationOptions: serialization_options)
68
67
  end
69
68
 
@@ -87,7 +86,7 @@ module Selenium
87
86
  @devtools.send_cmd('Runtime.enable')
88
87
  end
89
88
 
90
- 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, serialization_options: nil)
89
+ 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, serialization_options: nil)
91
90
  @devtools.send_cmd('Runtime.evaluate',
92
91
  expression: expression,
93
92
  objectGroup: object_group,
@@ -104,7 +103,6 @@ module Selenium
104
103
  replMode: repl_mode,
105
104
  allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
106
105
  uniqueContextId: unique_context_id,
107
- generateWebDriverValue: generate_web_driver_value,
108
106
  serializationOptions: serialization_options)
109
107
  end
110
108
 
@@ -199,6 +197,6 @@ module Selenium
199
197
  end
200
198
 
201
199
  end # Runtime
202
- end # V116
200
+ end # V119
203
201
  end # DevTools
204
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 V116
23
+ module V119
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 # V116
40
+ end # V119
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 V116
23
+ module V119
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 # V116
65
+ end # V119
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 V116
23
+ module V119
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 # V116
110
+ end # V119
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 V116
23
+ module V119
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -31,6 +31,7 @@ module Selenium
31
31
  shared_storage_accessed: 'sharedStorageAccessed',
32
32
  storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
33
33
  storage_bucket_deleted: 'storageBucketDeleted',
34
+ attribution_reporting_source_registered: 'attributionReportingSourceRegistered',
34
35
  }.freeze
35
36
 
36
37
  def initialize(devtools)
@@ -200,7 +201,17 @@ module Selenium
200
201
  @devtools.send_cmd('Storage.runBounceTrackingMitigations')
201
202
  end
202
203
 
204
+ def set_attribution_reporting_local_testing_mode(enabled:)
205
+ @devtools.send_cmd('Storage.setAttributionReportingLocalTestingMode',
206
+ enabled: enabled)
207
+ end
208
+
209
+ def set_attribution_reporting_tracking(enable:)
210
+ @devtools.send_cmd('Storage.setAttributionReportingTracking',
211
+ enable: enable)
212
+ end
213
+
203
214
  end # Storage
204
- end # V116
215
+ end # V119
205
216
  end # DevTools
206
217
  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 V116
23
+ module V119
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # SystemInfo
49
- end # V116
49
+ end # V119
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 V116
23
+ module V119
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -146,6 +146,6 @@ module Selenium
146
146
  end
147
147
 
148
148
  end # Target
149
- end # V116
149
+ end # V119
150
150
  end # DevTools
151
151
  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 V116
23
+ module V119
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 # V116
49
+ end # V119
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 V116
23
+ module V119
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 # V116
73
+ end # V119
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 V116
23
+ module V119
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 # V116
64
+ end # V119
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 V116
23
+ module V119
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -104,6 +104,6 @@ module Selenium
104
104
  end
105
105
 
106
106
  end # WebAuthn
107
- end # V116
107
+ end # V119
108
108
  end # DevTools
109
109
  end # Selenium
@@ -19,11 +19,11 @@
19
19
 
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
 
22
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v116/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v119/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V116
26
+ module V119
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -76,6 +76,6 @@ module Selenium
76
76
  runtime: 'Runtime',
77
77
  schema: 'Schema',
78
78
  }.freeze
79
- end # V116
79
+ end # V119
80
80
  end # DevTools
81
81
  end # Selenium
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.118.0'
22
+ VERSION = '0.119.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.118.0
4
+ version: 0.119.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: 2023-10-10 00:00:00.000000000 Z
13
+ date: 2023-11-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: selenium-webdriver
@@ -41,57 +41,6 @@ files:
41
41
  - LICENSE
42
42
  - NOTICE
43
43
  - lib/selenium/devtools.rb
44
- - lib/selenium/devtools/v116.rb
45
- - lib/selenium/devtools/v116/accessibility.rb
46
- - lib/selenium/devtools/v116/animation.rb
47
- - lib/selenium/devtools/v116/audits.rb
48
- - lib/selenium/devtools/v116/autofill.rb
49
- - lib/selenium/devtools/v116/background_service.rb
50
- - lib/selenium/devtools/v116/browser.rb
51
- - lib/selenium/devtools/v116/cache_storage.rb
52
- - lib/selenium/devtools/v116/cast.rb
53
- - lib/selenium/devtools/v116/console.rb
54
- - lib/selenium/devtools/v116/css.rb
55
- - lib/selenium/devtools/v116/database.rb
56
- - lib/selenium/devtools/v116/debugger.rb
57
- - lib/selenium/devtools/v116/device_access.rb
58
- - lib/selenium/devtools/v116/device_orientation.rb
59
- - lib/selenium/devtools/v116/dom.rb
60
- - lib/selenium/devtools/v116/dom_debugger.rb
61
- - lib/selenium/devtools/v116/dom_snapshot.rb
62
- - lib/selenium/devtools/v116/dom_storage.rb
63
- - lib/selenium/devtools/v116/emulation.rb
64
- - lib/selenium/devtools/v116/event_breakpoints.rb
65
- - lib/selenium/devtools/v116/fed_cm.rb
66
- - lib/selenium/devtools/v116/fetch.rb
67
- - lib/selenium/devtools/v116/headless_experimental.rb
68
- - lib/selenium/devtools/v116/heap_profiler.rb
69
- - lib/selenium/devtools/v116/indexed_db.rb
70
- - lib/selenium/devtools/v116/input.rb
71
- - lib/selenium/devtools/v116/inspector.rb
72
- - lib/selenium/devtools/v116/io.rb
73
- - lib/selenium/devtools/v116/layer_tree.rb
74
- - lib/selenium/devtools/v116/log.rb
75
- - lib/selenium/devtools/v116/media.rb
76
- - lib/selenium/devtools/v116/memory.rb
77
- - lib/selenium/devtools/v116/network.rb
78
- - lib/selenium/devtools/v116/overlay.rb
79
- - lib/selenium/devtools/v116/page.rb
80
- - lib/selenium/devtools/v116/performance.rb
81
- - lib/selenium/devtools/v116/performance_timeline.rb
82
- - lib/selenium/devtools/v116/preload.rb
83
- - lib/selenium/devtools/v116/profiler.rb
84
- - lib/selenium/devtools/v116/runtime.rb
85
- - lib/selenium/devtools/v116/schema.rb
86
- - lib/selenium/devtools/v116/security.rb
87
- - lib/selenium/devtools/v116/service_worker.rb
88
- - lib/selenium/devtools/v116/storage.rb
89
- - lib/selenium/devtools/v116/system_info.rb
90
- - lib/selenium/devtools/v116/target.rb
91
- - lib/selenium/devtools/v116/tethering.rb
92
- - lib/selenium/devtools/v116/tracing.rb
93
- - lib/selenium/devtools/v116/web_audio.rb
94
- - lib/selenium/devtools/v116/web_authn.rb
95
44
  - lib/selenium/devtools/v117.rb
96
45
  - lib/selenium/devtools/v117/accessibility.rb
97
46
  - lib/selenium/devtools/v117/animation.rb
@@ -194,6 +143,57 @@ files:
194
143
  - lib/selenium/devtools/v118/tracing.rb
195
144
  - lib/selenium/devtools/v118/web_audio.rb
196
145
  - lib/selenium/devtools/v118/web_authn.rb
146
+ - lib/selenium/devtools/v119.rb
147
+ - lib/selenium/devtools/v119/accessibility.rb
148
+ - lib/selenium/devtools/v119/animation.rb
149
+ - lib/selenium/devtools/v119/audits.rb
150
+ - lib/selenium/devtools/v119/autofill.rb
151
+ - lib/selenium/devtools/v119/background_service.rb
152
+ - lib/selenium/devtools/v119/browser.rb
153
+ - lib/selenium/devtools/v119/cache_storage.rb
154
+ - lib/selenium/devtools/v119/cast.rb
155
+ - lib/selenium/devtools/v119/console.rb
156
+ - lib/selenium/devtools/v119/css.rb
157
+ - lib/selenium/devtools/v119/database.rb
158
+ - lib/selenium/devtools/v119/debugger.rb
159
+ - lib/selenium/devtools/v119/device_access.rb
160
+ - lib/selenium/devtools/v119/device_orientation.rb
161
+ - lib/selenium/devtools/v119/dom.rb
162
+ - lib/selenium/devtools/v119/dom_debugger.rb
163
+ - lib/selenium/devtools/v119/dom_snapshot.rb
164
+ - lib/selenium/devtools/v119/dom_storage.rb
165
+ - lib/selenium/devtools/v119/emulation.rb
166
+ - lib/selenium/devtools/v119/event_breakpoints.rb
167
+ - lib/selenium/devtools/v119/fed_cm.rb
168
+ - lib/selenium/devtools/v119/fetch.rb
169
+ - lib/selenium/devtools/v119/headless_experimental.rb
170
+ - lib/selenium/devtools/v119/heap_profiler.rb
171
+ - lib/selenium/devtools/v119/indexed_db.rb
172
+ - lib/selenium/devtools/v119/input.rb
173
+ - lib/selenium/devtools/v119/inspector.rb
174
+ - lib/selenium/devtools/v119/io.rb
175
+ - lib/selenium/devtools/v119/layer_tree.rb
176
+ - lib/selenium/devtools/v119/log.rb
177
+ - lib/selenium/devtools/v119/media.rb
178
+ - lib/selenium/devtools/v119/memory.rb
179
+ - lib/selenium/devtools/v119/network.rb
180
+ - lib/selenium/devtools/v119/overlay.rb
181
+ - lib/selenium/devtools/v119/page.rb
182
+ - lib/selenium/devtools/v119/performance.rb
183
+ - lib/selenium/devtools/v119/performance_timeline.rb
184
+ - lib/selenium/devtools/v119/preload.rb
185
+ - lib/selenium/devtools/v119/profiler.rb
186
+ - lib/selenium/devtools/v119/runtime.rb
187
+ - lib/selenium/devtools/v119/schema.rb
188
+ - lib/selenium/devtools/v119/security.rb
189
+ - lib/selenium/devtools/v119/service_worker.rb
190
+ - lib/selenium/devtools/v119/storage.rb
191
+ - lib/selenium/devtools/v119/system_info.rb
192
+ - lib/selenium/devtools/v119/target.rb
193
+ - lib/selenium/devtools/v119/tethering.rb
194
+ - lib/selenium/devtools/v119/tracing.rb
195
+ - lib/selenium/devtools/v119/web_audio.rb
196
+ - lib/selenium/devtools/v119/web_authn.rb
197
197
  - lib/selenium/devtools/v85.rb
198
198
  - lib/selenium/devtools/v85/accessibility.rb
199
199
  - lib/selenium/devtools/v85/animation.rb