selenium-devtools 0.117.0 → 0.118.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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v115 → v118}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v115 → v118}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v115 → v118}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v115 → v118}/autofill.rb +18 -2
  6. data/lib/selenium/devtools/{v115 → v118}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v115 → v118}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v115 → v118}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v115 → v118}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v115 → v118}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v115 → v118}/css.rb +2 -2
  12. data/lib/selenium/devtools/{v115 → v118}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v115 → v118}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v115 → v118}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v115 → v118}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v115 → v118}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v115 → v118}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v115 → v118}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v115 → v118}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v115 → v118}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v115 → v118}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v115 → v118}/fed_cm.rb +7 -2
  23. data/lib/selenium/devtools/{v115 → v118}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v115 → v118}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v115 → v118}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v115 → v118}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v115 → v118}/input.rb +6 -2
  28. data/lib/selenium/devtools/{v115 → v118}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v115 → v118}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v115 → v118}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v115 → v118}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v115 → v118}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v115 → v118}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v115 → v118}/network.rb +2 -2
  35. data/lib/selenium/devtools/{v115 → v118}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v115 → v118}/page.rb +13 -6
  37. data/lib/selenium/devtools/{v115 → v118}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v115 → v118}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v115 → v118}/preload.rb +2 -2
  40. data/lib/selenium/devtools/{v115 → v118}/profiler.rb +2 -2
  41. data/lib/selenium/devtools/{v115 → v118}/runtime.rb +2 -2
  42. data/lib/selenium/devtools/{v115 → v118}/schema.rb +2 -2
  43. data/lib/selenium/devtools/{v115 → v118}/security.rb +2 -2
  44. data/lib/selenium/devtools/{v115 → v118}/service_worker.rb +2 -2
  45. data/lib/selenium/devtools/{v115 → v118}/storage.rb +13 -2
  46. data/lib/selenium/devtools/{v115 → v118}/system_info.rb +2 -2
  47. data/lib/selenium/devtools/{v115 → v118}/target.rb +2 -2
  48. data/lib/selenium/devtools/{v115 → v118}/tethering.rb +2 -2
  49. data/lib/selenium/devtools/{v115 → v118}/tracing.rb +2 -2
  50. data/lib/selenium/devtools/{v115 → v118}/web_audio.rb +2 -2
  51. data/lib/selenium/devtools/{v115 → v118}/web_authn.rb +2 -2
  52. data/lib/selenium/devtools/{v115.rb → v118.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: ceb6bf15319a260163ce712ede8b1ffd0800679ee81bd691ae22a794d9880196
4
- data.tar.gz: b9d9dc83b679fc473ee91059e78c381a286732af935f631664cbb5012b658a68
3
+ metadata.gz: 023faee7922c29f06b4b45e44cc7af6e266f139fd9308b7c04d6ab622a88deaa
4
+ data.tar.gz: 84882b7a8f8e15d4ded5f37a0658e7efe41bc1fc8d207133d91a977886195c64
5
5
  SHA512:
6
- metadata.gz: b49063663ca18faf40882943cbd85fef3fed36eebe62cc728046d7d3c340ec300f655e539f4cc269607c9728432534315302aa3b8f31503cfa467656d4806b00
7
- data.tar.gz: 78ec66c41169be1a9305bd2e6e6476b8b5d0038026a6402a174930e352712bc3ecb4e919c630d26f477b45e172e3a0aaf3a2d966797188614adad53c5d2af37b
6
+ metadata.gz: 952395ac212a91d1eade26e4a09929542af1f85c6d342f0e7abae10f6a75cd66ceea103560f69de07e928bbf58c2140ca56f90ef229cc51e6660e58945e58441
7
+ data.tar.gz: 6cf4e726d6673029b9dd475360d4f6f58ba226f79cb6d6d7ff460b784ce79ffa1ff6cce282b6df2655d6b453f0ec7c168a9c6ccd7ce029c5c598c805ab708fcf
@@ -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 V115
23
+ module V118
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 # V115
89
+ end # V118
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 V115
23
+ module V118
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 # V115
92
+ end # V118
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 V115
23
+ module V118
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 # V115
64
+ end # V118
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 V115
23
+ module V118
24
24
  class Autofill
25
+ EVENTS = {
26
+ address_form_filled: 'addressFormFilled',
27
+ }.freeze
25
28
 
26
29
  def initialize(devtools)
27
30
  @devtools = devtools
@@ -39,7 +42,20 @@ module Selenium
39
42
  card: card)
40
43
  end
41
44
 
45
+ def set_addresses(addresses:)
46
+ @devtools.send_cmd('Autofill.setAddresses',
47
+ addresses: addresses)
48
+ end
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
+
42
58
  end # Autofill
43
- end # V115
59
+ end # V118
44
60
  end # DevTools
45
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 V115
23
+ module V118
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 # V115
61
+ end # V118
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 V115
23
+ module V118
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 # V115
138
+ end # V118
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 V115
23
+ module V118
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 # V115
69
+ end # V118
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 V115
23
+ module V118
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 # V115
69
+ end # V118
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 V115
23
+ module V118
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 # V115
51
+ end # V118
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 V115
23
+ module V118
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -196,6 +196,6 @@ module Selenium
196
196
  end
197
197
 
198
198
  end # CSS
199
- end # V115
199
+ end # V118
200
200
  end # DevTools
201
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 V115
23
+ module V118
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 # V115
58
+ end # V118
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 V115
23
+ module V118
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 # V115
230
+ end # V118
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 V115
23
+ module V118
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 # V115
58
+ end # V118
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 V115
23
+ module V118
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 # V115
47
+ end # V118
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 V115
23
+ module V118
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 # V115
340
+ end # V118
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 V115
23
+ module V118
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 # V115
92
+ end # V118
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 V115
23
+ module V118
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 # V115
61
+ end # V118
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 V115
23
+ module V118
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 # V115
73
+ end # V118
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 V115
23
+ module V118
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 # V115
204
+ end # V118
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 V115
23
+ module V118
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 # V115
46
+ end # V118
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 V115
23
+ module V118
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_signin(dialog_id:)
54
+ @devtools.send_cmd('FedCm.confirmIdpSignin',
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 # V115
69
+ end # V118
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 V115
23
+ module V118
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 # V115
101
+ end # V118
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 V115
23
+ module V118
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 # V115
52
+ end # V118
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 V115
23
+ module V118
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 # V115
107
+ end # V118
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 V115
23
+ module V118
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 # V115
108
+ end # V118
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 V115
23
+ module V118
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 # V115
170
+ end # V118
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 V115
23
+ module V118
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 # V115
49
+ end # V118
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 V115
23
+ module V118
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 # V115
53
+ end # V118
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 V115
23
+ module V118
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 # V115
89
+ end # V118
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 V115
23
+ module V118
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 # V115
60
+ end # V118
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 V115
23
+ module V118
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 # V115
51
+ end # V118
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 V115
23
+ module V118
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 # V115
80
+ end # V118
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 V115
23
+ module V118
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 # V115
262
+ end # V118
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 V115
23
+ module V118
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 # V115
200
+ end # V118
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 V115
23
+ module V118
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)
@@ -398,7 +400,12 @@ module Selenium
398
400
  enabled: enabled)
399
401
  end
400
402
 
403
+ def set_prerendering_allowed(is_allowed:)
404
+ @devtools.send_cmd('Page.setPrerenderingAllowed',
405
+ isAllowed: is_allowed)
406
+ end
407
+
401
408
  end # Page
402
- end # V115
409
+ end # V118
403
410
  end # DevTools
404
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 V115
23
+ module V118
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 # V115
57
+ end # V118
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 V115
23
+ module V118
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 # V115
44
+ end # V118
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 V115
23
+ module V118
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
@@ -50,6 +50,6 @@ module Selenium
50
50
  end
51
51
 
52
52
  end # Preload
53
- end # V115
53
+ end # V118
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 V115
23
+ module V118
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 # V115
81
+ end # V118
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 V115
23
+ module V118
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -199,6 +199,6 @@ module Selenium
199
199
  end
200
200
 
201
201
  end # Runtime
202
- end # V115
202
+ end # V118
203
203
  end # DevTools
204
204
  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 V115
23
+ module V118
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 # V115
40
+ end # V118
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 V115
23
+ module V118
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 # V115
65
+ end # V118
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 V115
23
+ module V118
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 # V115
110
+ end # V118
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 V115
23
+ module V118
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 # V115
215
+ end # V118
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 V115
23
+ module V118
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 # V115
49
+ end # V118
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 V115
23
+ module V118
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 # V115
149
+ end # V118
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 V115
23
+ module V118
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 # V115
49
+ end # V118
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 V115
23
+ module V118
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 # V115
73
+ end # V118
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 V115
23
+ module V118
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 # V115
64
+ end # V118
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 V115
23
+ module V118
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 # V115
107
+ end # V118
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__))}/v115/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v118/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V115
26
+ module V118
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 # V115
79
+ end # V118
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.117.0'
22
+ VERSION = '0.118.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.117.0
4
+ version: 0.118.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-09-17 00:00:00.000000000 Z
13
+ date: 2023-10-10 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/v115.rb
45
- - lib/selenium/devtools/v115/accessibility.rb
46
- - lib/selenium/devtools/v115/animation.rb
47
- - lib/selenium/devtools/v115/audits.rb
48
- - lib/selenium/devtools/v115/autofill.rb
49
- - lib/selenium/devtools/v115/background_service.rb
50
- - lib/selenium/devtools/v115/browser.rb
51
- - lib/selenium/devtools/v115/cache_storage.rb
52
- - lib/selenium/devtools/v115/cast.rb
53
- - lib/selenium/devtools/v115/console.rb
54
- - lib/selenium/devtools/v115/css.rb
55
- - lib/selenium/devtools/v115/database.rb
56
- - lib/selenium/devtools/v115/debugger.rb
57
- - lib/selenium/devtools/v115/device_access.rb
58
- - lib/selenium/devtools/v115/device_orientation.rb
59
- - lib/selenium/devtools/v115/dom.rb
60
- - lib/selenium/devtools/v115/dom_debugger.rb
61
- - lib/selenium/devtools/v115/dom_snapshot.rb
62
- - lib/selenium/devtools/v115/dom_storage.rb
63
- - lib/selenium/devtools/v115/emulation.rb
64
- - lib/selenium/devtools/v115/event_breakpoints.rb
65
- - lib/selenium/devtools/v115/fed_cm.rb
66
- - lib/selenium/devtools/v115/fetch.rb
67
- - lib/selenium/devtools/v115/headless_experimental.rb
68
- - lib/selenium/devtools/v115/heap_profiler.rb
69
- - lib/selenium/devtools/v115/indexed_db.rb
70
- - lib/selenium/devtools/v115/input.rb
71
- - lib/selenium/devtools/v115/inspector.rb
72
- - lib/selenium/devtools/v115/io.rb
73
- - lib/selenium/devtools/v115/layer_tree.rb
74
- - lib/selenium/devtools/v115/log.rb
75
- - lib/selenium/devtools/v115/media.rb
76
- - lib/selenium/devtools/v115/memory.rb
77
- - lib/selenium/devtools/v115/network.rb
78
- - lib/selenium/devtools/v115/overlay.rb
79
- - lib/selenium/devtools/v115/page.rb
80
- - lib/selenium/devtools/v115/performance.rb
81
- - lib/selenium/devtools/v115/performance_timeline.rb
82
- - lib/selenium/devtools/v115/preload.rb
83
- - lib/selenium/devtools/v115/profiler.rb
84
- - lib/selenium/devtools/v115/runtime.rb
85
- - lib/selenium/devtools/v115/schema.rb
86
- - lib/selenium/devtools/v115/security.rb
87
- - lib/selenium/devtools/v115/service_worker.rb
88
- - lib/selenium/devtools/v115/storage.rb
89
- - lib/selenium/devtools/v115/system_info.rb
90
- - lib/selenium/devtools/v115/target.rb
91
- - lib/selenium/devtools/v115/tethering.rb
92
- - lib/selenium/devtools/v115/tracing.rb
93
- - lib/selenium/devtools/v115/web_audio.rb
94
- - lib/selenium/devtools/v115/web_authn.rb
95
44
  - lib/selenium/devtools/v116.rb
96
45
  - lib/selenium/devtools/v116/accessibility.rb
97
46
  - lib/selenium/devtools/v116/animation.rb
@@ -194,6 +143,57 @@ files:
194
143
  - lib/selenium/devtools/v117/tracing.rb
195
144
  - lib/selenium/devtools/v117/web_audio.rb
196
145
  - lib/selenium/devtools/v117/web_authn.rb
146
+ - lib/selenium/devtools/v118.rb
147
+ - lib/selenium/devtools/v118/accessibility.rb
148
+ - lib/selenium/devtools/v118/animation.rb
149
+ - lib/selenium/devtools/v118/audits.rb
150
+ - lib/selenium/devtools/v118/autofill.rb
151
+ - lib/selenium/devtools/v118/background_service.rb
152
+ - lib/selenium/devtools/v118/browser.rb
153
+ - lib/selenium/devtools/v118/cache_storage.rb
154
+ - lib/selenium/devtools/v118/cast.rb
155
+ - lib/selenium/devtools/v118/console.rb
156
+ - lib/selenium/devtools/v118/css.rb
157
+ - lib/selenium/devtools/v118/database.rb
158
+ - lib/selenium/devtools/v118/debugger.rb
159
+ - lib/selenium/devtools/v118/device_access.rb
160
+ - lib/selenium/devtools/v118/device_orientation.rb
161
+ - lib/selenium/devtools/v118/dom.rb
162
+ - lib/selenium/devtools/v118/dom_debugger.rb
163
+ - lib/selenium/devtools/v118/dom_snapshot.rb
164
+ - lib/selenium/devtools/v118/dom_storage.rb
165
+ - lib/selenium/devtools/v118/emulation.rb
166
+ - lib/selenium/devtools/v118/event_breakpoints.rb
167
+ - lib/selenium/devtools/v118/fed_cm.rb
168
+ - lib/selenium/devtools/v118/fetch.rb
169
+ - lib/selenium/devtools/v118/headless_experimental.rb
170
+ - lib/selenium/devtools/v118/heap_profiler.rb
171
+ - lib/selenium/devtools/v118/indexed_db.rb
172
+ - lib/selenium/devtools/v118/input.rb
173
+ - lib/selenium/devtools/v118/inspector.rb
174
+ - lib/selenium/devtools/v118/io.rb
175
+ - lib/selenium/devtools/v118/layer_tree.rb
176
+ - lib/selenium/devtools/v118/log.rb
177
+ - lib/selenium/devtools/v118/media.rb
178
+ - lib/selenium/devtools/v118/memory.rb
179
+ - lib/selenium/devtools/v118/network.rb
180
+ - lib/selenium/devtools/v118/overlay.rb
181
+ - lib/selenium/devtools/v118/page.rb
182
+ - lib/selenium/devtools/v118/performance.rb
183
+ - lib/selenium/devtools/v118/performance_timeline.rb
184
+ - lib/selenium/devtools/v118/preload.rb
185
+ - lib/selenium/devtools/v118/profiler.rb
186
+ - lib/selenium/devtools/v118/runtime.rb
187
+ - lib/selenium/devtools/v118/schema.rb
188
+ - lib/selenium/devtools/v118/security.rb
189
+ - lib/selenium/devtools/v118/service_worker.rb
190
+ - lib/selenium/devtools/v118/storage.rb
191
+ - lib/selenium/devtools/v118/system_info.rb
192
+ - lib/selenium/devtools/v118/target.rb
193
+ - lib/selenium/devtools/v118/tethering.rb
194
+ - lib/selenium/devtools/v118/tracing.rb
195
+ - lib/selenium/devtools/v118/web_audio.rb
196
+ - lib/selenium/devtools/v118/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