selenium-devtools 0.138.0 → 0.140.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 (111) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v137 → v139}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v137 → v139}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v137 → v139}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v136 → v139}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v137 → v139}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v137 → v139}/bluetooth_emulation.rb +16 -2
  8. data/lib/selenium/devtools/{v136 → v139}/browser.rb +2 -2
  9. data/lib/selenium/devtools/{v137 → v139}/cache_storage.rb +2 -2
  10. data/lib/selenium/devtools/{v137 → v139}/cast.rb +2 -2
  11. data/lib/selenium/devtools/{v136 → v139}/console.rb +2 -2
  12. data/lib/selenium/devtools/{v136 → v139}/css.rb +2 -2
  13. data/lib/selenium/devtools/{v137 → v139}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v137 → v139}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v137 → v139}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v137 → v139}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v136 → v139}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v137 → v139}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v136 → v139}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v137 → v139}/emulation.rb +14 -2
  21. data/lib/selenium/devtools/{v136 → v139}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v137 → v139}/extensions.rb +2 -2
  23. data/lib/selenium/devtools/{v137 → v139}/fed_cm.rb +2 -2
  24. data/lib/selenium/devtools/{v136 → v139}/fetch.rb +2 -2
  25. data/lib/selenium/devtools/{v137 → v139}/file_system.rb +2 -2
  26. data/lib/selenium/devtools/{v137 → v139}/headless_experimental.rb +2 -2
  27. data/lib/selenium/devtools/{v136 → v139}/heap_profiler.rb +2 -2
  28. data/lib/selenium/devtools/{v136 → v139}/indexed_db.rb +2 -2
  29. data/lib/selenium/devtools/{v137 → v139}/input.rb +2 -2
  30. data/lib/selenium/devtools/{v136 → v139}/inspector.rb +2 -2
  31. data/lib/selenium/devtools/{v136 → v139}/io.rb +2 -2
  32. data/lib/selenium/devtools/{v137 → v139}/layer_tree.rb +2 -2
  33. data/lib/selenium/devtools/{v137 → v139}/log.rb +2 -2
  34. data/lib/selenium/devtools/{v137 → v139}/media.rb +2 -2
  35. data/lib/selenium/devtools/{v136 → v139}/memory.rb +2 -2
  36. data/lib/selenium/devtools/{v137 → v139}/network.rb +11 -5
  37. data/lib/selenium/devtools/{v136 → v139}/overlay.rb +2 -2
  38. data/lib/selenium/devtools/{v136 → v139}/page.rb +4 -4
  39. data/lib/selenium/devtools/{v136 → v139}/performance.rb +2 -2
  40. data/lib/selenium/devtools/{v137 → v139}/performance_timeline.rb +2 -2
  41. data/lib/selenium/devtools/{v136 → v139}/preload.rb +2 -2
  42. data/lib/selenium/devtools/{v136 → v139}/profiler.rb +2 -2
  43. data/lib/selenium/devtools/{v137 → v139}/pwa.rb +2 -2
  44. data/lib/selenium/devtools/{v136 → v139}/runtime.rb +2 -2
  45. data/lib/selenium/devtools/{v136 → v139}/schema.rb +2 -2
  46. data/lib/selenium/devtools/{v136 → v139}/security.rb +2 -2
  47. data/lib/selenium/devtools/{v136 → v139}/service_worker.rb +2 -2
  48. data/lib/selenium/devtools/{v137 → v139}/storage.rb +5 -2
  49. data/lib/selenium/devtools/{v136 → v139}/system_info.rb +2 -2
  50. data/lib/selenium/devtools/{v137 → v139}/target.rb +2 -2
  51. data/lib/selenium/devtools/{v136 → v139}/tethering.rb +2 -2
  52. data/lib/selenium/devtools/{v136 → v139}/tracing.rb +2 -2
  53. data/lib/selenium/devtools/{v136 → v139}/web_audio.rb +2 -2
  54. data/lib/selenium/devtools/{v137 → v139}/web_authn.rb +2 -2
  55. data/lib/selenium/devtools/{v136.rb → v139.rb} +3 -3
  56. data/lib/selenium/devtools/{v136 → v140}/accessibility.rb +2 -2
  57. data/lib/selenium/devtools/{v136 → v140}/animation.rb +2 -2
  58. data/lib/selenium/devtools/{v136 → v140}/audits.rb +2 -2
  59. data/lib/selenium/devtools/{v137 → v140}/autofill.rb +2 -2
  60. data/lib/selenium/devtools/{v136 → v140}/background_service.rb +2 -2
  61. data/lib/selenium/devtools/{v136 → v140}/bluetooth_emulation.rb +39 -9
  62. data/lib/selenium/devtools/{v137 → v140}/browser.rb +9 -2
  63. data/lib/selenium/devtools/{v136 → v140}/cache_storage.rb +2 -2
  64. data/lib/selenium/devtools/{v136 → v140}/cast.rb +2 -2
  65. data/lib/selenium/devtools/{v137 → v140}/console.rb +2 -2
  66. data/lib/selenium/devtools/{v137 → v140}/css.rb +6 -2
  67. data/lib/selenium/devtools/{v136 → v140}/debugger.rb +2 -2
  68. data/lib/selenium/devtools/{v136 → v140}/device_access.rb +2 -2
  69. data/lib/selenium/devtools/{v136 → v140}/device_orientation.rb +2 -2
  70. data/lib/selenium/devtools/{v136 → v140}/dom.rb +14 -6
  71. data/lib/selenium/devtools/{v137 → v140}/dom_debugger.rb +2 -2
  72. data/lib/selenium/devtools/{v136 → v140}/dom_snapshot.rb +2 -2
  73. data/lib/selenium/devtools/{v137 → v140}/dom_storage.rb +2 -2
  74. data/lib/selenium/devtools/{v136 → v140}/emulation.rb +30 -4
  75. data/lib/selenium/devtools/{v137 → v140}/event_breakpoints.rb +2 -2
  76. data/lib/selenium/devtools/{v136 → v140}/extensions.rb +2 -2
  77. data/lib/selenium/devtools/{v136 → v140}/fed_cm.rb +2 -2
  78. data/lib/selenium/devtools/{v137 → v140}/fetch.rb +2 -2
  79. data/lib/selenium/devtools/{v136 → v140}/file_system.rb +2 -2
  80. data/lib/selenium/devtools/{v136 → v140}/headless_experimental.rb +2 -2
  81. data/lib/selenium/devtools/{v137 → v140}/heap_profiler.rb +2 -2
  82. data/lib/selenium/devtools/{v137 → v140}/indexed_db.rb +2 -2
  83. data/lib/selenium/devtools/{v136 → v140}/input.rb +2 -2
  84. data/lib/selenium/devtools/{v137 → v140}/inspector.rb +2 -2
  85. data/lib/selenium/devtools/{v137 → v140}/io.rb +2 -2
  86. data/lib/selenium/devtools/{v136 → v140}/layer_tree.rb +2 -2
  87. data/lib/selenium/devtools/{v136 → v140}/log.rb +2 -2
  88. data/lib/selenium/devtools/{v136 → v140}/media.rb +2 -2
  89. data/lib/selenium/devtools/{v137 → v140}/memory.rb +2 -2
  90. data/lib/selenium/devtools/{v136 → v140}/network.rb +13 -4
  91. data/lib/selenium/devtools/{v137 → v140}/overlay.rb +2 -2
  92. data/lib/selenium/devtools/{v137 → v140}/page.rb +4 -4
  93. data/lib/selenium/devtools/{v137 → v140}/performance.rb +2 -2
  94. data/lib/selenium/devtools/{v136 → v140}/performance_timeline.rb +2 -2
  95. data/lib/selenium/devtools/{v137 → v140}/preload.rb +2 -2
  96. data/lib/selenium/devtools/{v137 → v140}/profiler.rb +2 -2
  97. data/lib/selenium/devtools/{v136 → v140}/pwa.rb +2 -2
  98. data/lib/selenium/devtools/{v137 → v140}/runtime.rb +2 -2
  99. data/lib/selenium/devtools/{v137 → v140}/schema.rb +2 -2
  100. data/lib/selenium/devtools/{v137 → v140}/security.rb +2 -2
  101. data/lib/selenium/devtools/{v137 → v140}/service_worker.rb +2 -7
  102. data/lib/selenium/devtools/{v136 → v140}/storage.rb +12 -2
  103. data/lib/selenium/devtools/{v137 → v140}/system_info.rb +2 -2
  104. data/lib/selenium/devtools/{v136 → v140}/target.rb +10 -4
  105. data/lib/selenium/devtools/{v137 → v140}/tethering.rb +2 -2
  106. data/lib/selenium/devtools/{v137 → v140}/tracing.rb +2 -2
  107. data/lib/selenium/devtools/{v137 → v140}/web_audio.rb +2 -2
  108. data/lib/selenium/devtools/{v136 → v140}/web_authn.rb +2 -2
  109. data/lib/selenium/devtools/{v137.rb → v140.rb} +3 -3
  110. data/lib/selenium/devtools/version.rb +1 -1
  111. metadata +110 -110
@@ -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 V137
23
+ module V139
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -49,7 +49,12 @@ module Selenium
49
49
  direct_tcp_socket_closed: 'directTCPSocketClosed',
50
50
  direct_tcp_socket_chunk_sent: 'directTCPSocketChunkSent',
51
51
  direct_tcp_socket_chunk_received: 'directTCPSocketChunkReceived',
52
- direct_tcp_socket_chunk_error: 'directTCPSocketChunkError',
52
+ direct_udp_socket_created: 'directUDPSocketCreated',
53
+ direct_udp_socket_opened: 'directUDPSocketOpened',
54
+ direct_udp_socket_aborted: 'directUDPSocketAborted',
55
+ direct_udp_socket_closed: 'directUDPSocketClosed',
56
+ direct_udp_socket_chunk_sent: 'directUDPSocketChunkSent',
57
+ direct_udp_socket_chunk_received: 'directUDPSocketChunkReceived',
53
58
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
54
59
  response_received_extra_info: 'responseReceivedExtraInfo',
55
60
  response_received_early_hints: 'responseReceivedEarlyHints',
@@ -139,11 +144,12 @@ module Selenium
139
144
  packetReordering: packet_reordering)
140
145
  end
141
146
 
142
- def enable(max_total_buffer_size: nil, max_resource_buffer_size: nil, max_post_data_size: nil)
147
+ def enable(max_total_buffer_size: nil, max_resource_buffer_size: nil, max_post_data_size: nil, report_direct_socket_traffic: nil)
143
148
  @devtools.send_cmd('Network.enable',
144
149
  maxTotalBufferSize: max_total_buffer_size,
145
150
  maxResourceBufferSize: max_resource_buffer_size,
146
- maxPostDataSize: max_post_data_size)
151
+ maxPostDataSize: max_post_data_size,
152
+ reportDirectSocketTraffic: report_direct_socket_traffic)
147
153
  end
148
154
 
149
155
  def get_all_cookies
@@ -284,6 +290,6 @@ module Selenium
284
290
  end
285
291
 
286
292
  end # Network
287
- end # V137
293
+ end # V139
288
294
  end # DevTools
289
295
  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 V136
23
+ module V139
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -202,6 +202,6 @@ module Selenium
202
202
  end
203
203
 
204
204
  end # Overlay
205
- end # V136
205
+ end # V139
206
206
  end # DevTools
207
207
  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 V136
23
+ module V139
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -145,8 +145,8 @@ module Selenium
145
145
  @devtools.send_cmd('Page.getAppId')
146
146
  end
147
147
 
148
- def get_ad_script_id(frame_id:)
149
- @devtools.send_cmd('Page.getAdScriptId',
148
+ def get_ad_script_ancestry(frame_id:)
149
+ @devtools.send_cmd('Page.getAdScriptAncestry',
150
150
  frameId: frame_id)
151
151
  end
152
152
 
@@ -409,6 +409,6 @@ module Selenium
409
409
  end
410
410
 
411
411
  end # Page
412
- end # V136
412
+ end # V139
413
413
  end # DevTools
414
414
  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 V136
23
+ module V139
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 # V136
57
+ end # V139
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 V137
23
+ module V139
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 # V137
44
+ end # V139
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 V136
23
+ module V139
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # Preload
52
- end # V136
52
+ end # V139
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 V136
23
+ module V139
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 # V136
81
+ end # V139
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 V137
23
+ module V139
24
24
  class PWA
25
25
 
26
26
  def initialize(devtools)
@@ -73,6 +73,6 @@ module Selenium
73
73
  end
74
74
 
75
75
  end # PWA
76
- end # V137
76
+ end # V139
77
77
  end # DevTools
78
78
  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 V136
23
+ module V139
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -197,6 +197,6 @@ module Selenium
197
197
  end
198
198
 
199
199
  end # Runtime
200
- end # V136
200
+ end # V139
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 V136
23
+ module V139
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 # V136
40
+ end # V139
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 V136
23
+ module V139
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 # V136
65
+ end # V139
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 V136
23
+ module V139
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 # V136
110
+ end # V139
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 V137
23
+ module V139
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -31,10 +31,13 @@ module Selenium
31
31
  interest_group_auction_event_occurred: 'interestGroupAuctionEventOccurred',
32
32
  interest_group_auction_network_request_created: 'interestGroupAuctionNetworkRequestCreated',
33
33
  shared_storage_accessed: 'sharedStorageAccessed',
34
+ shared_storage_worklet_operation_execution_finished: 'sharedStorageWorkletOperationExecutionFinished',
34
35
  storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
35
36
  storage_bucket_deleted: 'storageBucketDeleted',
36
37
  attribution_reporting_source_registered: 'attributionReportingSourceRegistered',
37
38
  attribution_reporting_trigger_registered: 'attributionReportingTriggerRegistered',
39
+ attribution_reporting_report_sent: 'attributionReportingReportSent',
40
+ attribution_reporting_verbose_debug_report_sent: 'attributionReportingVerboseDebugReportSent',
38
41
  }.freeze
39
42
 
40
43
  def initialize(devtools)
@@ -241,6 +244,6 @@ module Selenium
241
244
  end
242
245
 
243
246
  end # Storage
244
- end # V137
247
+ end # V139
245
248
  end # DevTools
246
249
  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 V136
23
+ module V139
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 # V136
49
+ end # V139
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 V137
23
+ module V139
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -151,6 +151,6 @@ module Selenium
151
151
  end
152
152
 
153
153
  end # Target
154
- end # V137
154
+ end # V139
155
155
  end # DevTools
156
156
  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 V136
23
+ module V139
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 # V136
49
+ end # V139
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 V136
23
+ module V139
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 # V136
73
+ end # V139
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 V136
23
+ module V139
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 # V136
64
+ end # V139
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 V137
23
+ module V139
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -114,6 +114,6 @@ module Selenium
114
114
  end
115
115
 
116
116
  end # WebAuthn
117
- end # V137
117
+ end # V139
118
118
  end # DevTools
119
119
  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__))}/v136/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v139/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V136
26
+ module V139
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -79,6 +79,6 @@ module Selenium
79
79
  runtime: 'Runtime',
80
80
  schema: 'Schema',
81
81
  }.freeze
82
- end # V136
82
+ end # V139
83
83
  end # DevTools
84
84
  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 V136
23
+ module V140
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 # V136
89
+ end # V140
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 V136
23
+ module V140
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
@@ -90,6 +90,6 @@ module Selenium
90
90
  end
91
91
 
92
92
  end # Animation
93
- end # V136
93
+ end # V140
94
94
  end # DevTools
95
95
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V136
23
+ module V140
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 # V136
64
+ end # V140
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 V137
23
+ module V140
24
24
  class Autofill
25
25
  EVENTS = {
26
26
  address_form_filled: 'addressFormFilled',
@@ -56,6 +56,6 @@ module Selenium
56
56
  end
57
57
 
58
58
  end # Autofill
59
- end # V137
59
+ end # V140
60
60
  end # DevTools
61
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 V136
23
+ module V140
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 # V136
61
+ end # V140
62
62
  end # DevTools
63
63
  end # Selenium
@@ -20,10 +20,12 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V136
23
+ module V140
24
24
  class BluetoothEmulation
25
25
  EVENTS = {
26
26
  gatt_operation_received: 'gattOperationReceived',
27
+ characteristic_operation_received: 'characteristicOperationReceived',
28
+ descriptor_operation_received: 'descriptorOperationReceived',
27
29
  }.freeze
28
30
 
29
31
  def initialize(devtools)
@@ -70,34 +72,62 @@ module Selenium
70
72
  code: code)
71
73
  end
72
74
 
75
+ def simulate_characteristic_operation_response(characteristic_id:, type:, code:, data: nil)
76
+ @devtools.send_cmd('BluetoothEmulation.simulateCharacteristicOperationResponse',
77
+ characteristicId: characteristic_id,
78
+ type: type,
79
+ code: code,
80
+ data: data)
81
+ end
82
+
83
+ def simulate_descriptor_operation_response(descriptor_id:, type:, code:, data: nil)
84
+ @devtools.send_cmd('BluetoothEmulation.simulateDescriptorOperationResponse',
85
+ descriptorId: descriptor_id,
86
+ type: type,
87
+ code: code,
88
+ data: data)
89
+ end
90
+
73
91
  def add_service(address:, service_uuid:)
74
92
  @devtools.send_cmd('BluetoothEmulation.addService',
75
93
  address: address,
76
94
  serviceUuid: service_uuid)
77
95
  end
78
96
 
79
- def remove_service(address:, service_id:)
97
+ def remove_service(service_id:)
80
98
  @devtools.send_cmd('BluetoothEmulation.removeService',
81
- address: address,
82
99
  serviceId: service_id)
83
100
  end
84
101
 
85
- def add_characteristic(address:, service_id:, characteristic_uuid:, properties:)
102
+ def add_characteristic(service_id:, characteristic_uuid:, properties:)
86
103
  @devtools.send_cmd('BluetoothEmulation.addCharacteristic',
87
- address: address,
88
104
  serviceId: service_id,
89
105
  characteristicUuid: characteristic_uuid,
90
106
  properties: properties)
91
107
  end
92
108
 
93
- def remove_characteristic(address:, service_id:, characteristic_id:)
109
+ def remove_characteristic(characteristic_id:)
94
110
  @devtools.send_cmd('BluetoothEmulation.removeCharacteristic',
95
- address: address,
96
- serviceId: service_id,
97
111
  characteristicId: characteristic_id)
98
112
  end
99
113
 
114
+ def add_descriptor(characteristic_id:, descriptor_uuid:)
115
+ @devtools.send_cmd('BluetoothEmulation.addDescriptor',
116
+ characteristicId: characteristic_id,
117
+ descriptorUuid: descriptor_uuid)
118
+ end
119
+
120
+ def remove_descriptor(descriptor_id:)
121
+ @devtools.send_cmd('BluetoothEmulation.removeDescriptor',
122
+ descriptorId: descriptor_id)
123
+ end
124
+
125
+ def simulate_gatt_disconnection(address:)
126
+ @devtools.send_cmd('BluetoothEmulation.simulateGATTDisconnection',
127
+ address: address)
128
+ end
129
+
100
130
  end # BluetoothEmulation
101
- end # V136
131
+ end # V140
102
132
  end # DevTools
103
133
  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 V137
23
+ module V140
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -118,6 +118,13 @@ module Selenium
118
118
  bounds: bounds)
119
119
  end
120
120
 
121
+ def set_contents_size(window_id:, width: nil, height: nil)
122
+ @devtools.send_cmd('Browser.setContentsSize',
123
+ windowId: window_id,
124
+ width: width,
125
+ height: height)
126
+ end
127
+
121
128
  def set_dock_tile(badge_label: nil, image: nil)
122
129
  @devtools.send_cmd('Browser.setDockTile',
123
130
  badgeLabel: badge_label,
@@ -143,6 +150,6 @@ module Selenium
143
150
  end
144
151
 
145
152
  end # Browser
146
- end # V137
153
+ end # V140
147
154
  end # DevTools
148
155
  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 V136
23
+ module V140
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 # V136
69
+ end # V140
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 V136
23
+ module V140
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 # V136
69
+ end # V140
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 V137
23
+ module V140
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 # V137
51
+ end # V140
52
52
  end # DevTools
53
53
  end # Selenium