selenium-devtools 0.128.0 → 0.130.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v127 → v129}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v127 → v129}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v127 → v129}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v126 → v129}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v127 → v129}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/v129/bluetooth_emulation.rb +60 -0
  8. data/lib/selenium/devtools/{v127 → v129}/browser.rb +2 -2
  9. data/lib/selenium/devtools/{v127 → v129}/cache_storage.rb +2 -2
  10. data/lib/selenium/devtools/{v127 → v129}/cast.rb +2 -2
  11. data/lib/selenium/devtools/{v127 → v129}/console.rb +2 -2
  12. data/lib/selenium/devtools/{v126 → v129}/css.rb +2 -2
  13. data/lib/selenium/devtools/{v126 → v129}/database.rb +2 -2
  14. data/lib/selenium/devtools/{v127 → v129}/debugger.rb +2 -2
  15. data/lib/selenium/devtools/{v127 → v129}/device_access.rb +2 -2
  16. data/lib/selenium/devtools/{v126 → v129}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v127 → v129}/dom.rb +6 -2
  18. data/lib/selenium/devtools/{v126 → v129}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v126 → v129}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v126 → v129}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v127 → v129}/emulation.rb +15 -2
  22. data/lib/selenium/devtools/{v126 → v129}/event_breakpoints.rb +2 -2
  23. data/lib/selenium/devtools/v129/extensions.rb +70 -0
  24. data/lib/selenium/devtools/{v127 → v129}/fed_cm.rb +2 -2
  25. data/lib/selenium/devtools/{v126 → v129}/fetch.rb +2 -2
  26. data/lib/selenium/devtools/{v127/extensions.rb → v129/file_system.rb} +8 -8
  27. data/lib/selenium/devtools/{v126 → v129}/headless_experimental.rb +2 -2
  28. data/lib/selenium/devtools/{v127 → v129}/heap_profiler.rb +2 -2
  29. data/lib/selenium/devtools/{v126 → v129}/indexed_db.rb +2 -2
  30. data/lib/selenium/devtools/{v127 → v129}/input.rb +2 -2
  31. data/lib/selenium/devtools/{v126 → v129}/inspector.rb +2 -2
  32. data/lib/selenium/devtools/{v127 → v129}/io.rb +2 -2
  33. data/lib/selenium/devtools/{v127 → v129}/layer_tree.rb +2 -2
  34. data/lib/selenium/devtools/{v126 → v129}/log.rb +2 -2
  35. data/lib/selenium/devtools/{v126 → v129}/media.rb +2 -2
  36. data/lib/selenium/devtools/{v127 → v129}/memory.rb +2 -2
  37. data/lib/selenium/devtools/{v127 → v129}/network.rb +3 -2
  38. data/lib/selenium/devtools/{v127 → v129}/overlay.rb +2 -2
  39. data/lib/selenium/devtools/{v126 → v129}/page.rb +2 -2
  40. data/lib/selenium/devtools/{v126 → v129}/performance.rb +2 -2
  41. data/lib/selenium/devtools/{v127 → v129}/performance_timeline.rb +2 -2
  42. data/lib/selenium/devtools/{v126 → v129}/preload.rb +2 -2
  43. data/lib/selenium/devtools/{v126 → v129}/profiler.rb +2 -2
  44. data/lib/selenium/devtools/{v127 → v129}/pwa.rb +9 -2
  45. data/lib/selenium/devtools/{v127 → v129}/runtime.rb +2 -2
  46. data/lib/selenium/devtools/{v127 → v129}/schema.rb +2 -2
  47. data/lib/selenium/devtools/{v127 → v129}/security.rb +2 -2
  48. data/lib/selenium/devtools/{v126 → v129}/service_worker.rb +2 -2
  49. data/lib/selenium/devtools/{v127 → v129}/storage.rb +2 -2
  50. data/lib/selenium/devtools/{v126 → v129}/system_info.rb +2 -2
  51. data/lib/selenium/devtools/{v126 → v129}/target.rb +2 -2
  52. data/lib/selenium/devtools/{v127 → v129}/tethering.rb +2 -2
  53. data/lib/selenium/devtools/{v126 → v129}/tracing.rb +2 -2
  54. data/lib/selenium/devtools/{v126 → v129}/web_audio.rb +2 -2
  55. data/lib/selenium/devtools/{v127 → v129}/web_authn.rb +2 -2
  56. data/lib/selenium/devtools/{v126.rb → v129.rb} +5 -3
  57. data/lib/selenium/devtools/{v126 → v130}/accessibility.rb +2 -2
  58. data/lib/selenium/devtools/{v126 → v130}/animation.rb +2 -2
  59. data/lib/selenium/devtools/{v126 → v130}/audits.rb +2 -2
  60. data/lib/selenium/devtools/{v127 → v130}/autofill.rb +2 -2
  61. data/lib/selenium/devtools/{v126 → v130}/background_service.rb +2 -2
  62. data/lib/selenium/devtools/v130/bluetooth_emulation.rb +60 -0
  63. data/lib/selenium/devtools/{v126 → v130}/browser.rb +2 -2
  64. data/lib/selenium/devtools/{v126 → v130}/cache_storage.rb +2 -2
  65. data/lib/selenium/devtools/{v126 → v130}/cast.rb +2 -2
  66. data/lib/selenium/devtools/{v126 → v130}/console.rb +2 -2
  67. data/lib/selenium/devtools/{v127 → v130}/css.rb +2 -2
  68. data/lib/selenium/devtools/{v127 → v130}/database.rb +2 -2
  69. data/lib/selenium/devtools/{v126 → v130}/debugger.rb +2 -2
  70. data/lib/selenium/devtools/{v126 → v130}/device_access.rb +2 -2
  71. data/lib/selenium/devtools/{v127 → v130}/device_orientation.rb +2 -2
  72. data/lib/selenium/devtools/{v126 → v130}/dom.rb +13 -2
  73. data/lib/selenium/devtools/{v127 → v130}/dom_debugger.rb +2 -2
  74. data/lib/selenium/devtools/{v127 → v130}/dom_snapshot.rb +2 -2
  75. data/lib/selenium/devtools/{v127 → v130}/dom_storage.rb +2 -2
  76. data/lib/selenium/devtools/{v126 → v130}/emulation.rb +15 -2
  77. data/lib/selenium/devtools/{v127 → v130}/event_breakpoints.rb +2 -2
  78. data/lib/selenium/devtools/v130/extensions.rb +70 -0
  79. data/lib/selenium/devtools/{v126 → v130}/fed_cm.rb +2 -2
  80. data/lib/selenium/devtools/{v127 → v130}/fetch.rb +2 -2
  81. data/lib/selenium/devtools/{v126/extensions.rb → v130/file_system.rb} +8 -8
  82. data/lib/selenium/devtools/{v127 → v130}/headless_experimental.rb +2 -2
  83. data/lib/selenium/devtools/{v126 → v130}/heap_profiler.rb +2 -2
  84. data/lib/selenium/devtools/{v127 → v130}/indexed_db.rb +2 -2
  85. data/lib/selenium/devtools/{v126 → v130}/input.rb +2 -2
  86. data/lib/selenium/devtools/{v127 → v130}/inspector.rb +2 -2
  87. data/lib/selenium/devtools/{v126 → v130}/io.rb +2 -2
  88. data/lib/selenium/devtools/{v126 → v130}/layer_tree.rb +2 -2
  89. data/lib/selenium/devtools/{v127 → v130}/log.rb +2 -2
  90. data/lib/selenium/devtools/{v127 → v130}/media.rb +2 -2
  91. data/lib/selenium/devtools/{v126 → v130}/memory.rb +6 -2
  92. data/lib/selenium/devtools/{v126 → v130}/network.rb +3 -2
  93. data/lib/selenium/devtools/{v126 → v130}/overlay.rb +2 -2
  94. data/lib/selenium/devtools/{v127 → v130}/page.rb +3 -2
  95. data/lib/selenium/devtools/{v127 → v130}/performance.rb +2 -2
  96. data/lib/selenium/devtools/{v126 → v130}/performance_timeline.rb +2 -2
  97. data/lib/selenium/devtools/{v127 → v130}/preload.rb +2 -2
  98. data/lib/selenium/devtools/{v127 → v130}/profiler.rb +2 -2
  99. data/lib/selenium/devtools/{v126 → v130}/pwa.rb +20 -2
  100. data/lib/selenium/devtools/{v126 → v130}/runtime.rb +2 -2
  101. data/lib/selenium/devtools/{v126 → v130}/schema.rb +2 -2
  102. data/lib/selenium/devtools/{v126 → v130}/security.rb +2 -2
  103. data/lib/selenium/devtools/{v127 → v130}/service_worker.rb +2 -2
  104. data/lib/selenium/devtools/{v126 → v130}/storage.rb +2 -2
  105. data/lib/selenium/devtools/{v127 → v130}/system_info.rb +2 -2
  106. data/lib/selenium/devtools/{v127 → v130}/target.rb +2 -2
  107. data/lib/selenium/devtools/{v126 → v130}/tethering.rb +2 -2
  108. data/lib/selenium/devtools/{v127 → v130}/tracing.rb +2 -2
  109. data/lib/selenium/devtools/{v127 → v130}/web_audio.rb +2 -2
  110. data/lib/selenium/devtools/{v126 → v130}/web_authn.rb +2 -2
  111. data/lib/selenium/devtools/{v127.rb → v130.rb} +5 -3
  112. data/lib/selenium/devtools/version.rb +1 -1
  113. metadata +115 -111
@@ -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 V126
23
+ module V129
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 # V126
49
+ end # V129
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 V127
23
+ module V129
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 # V127
53
+ end # V129
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 V127
23
+ module V129
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 # V127
89
+ end # V129
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 V126
23
+ module V129
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 # V126
60
+ end # V129
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 V126
23
+ module V129
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 # V126
51
+ end # V129
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 V127
23
+ module V129
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 # V127
80
+ end # V129
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 V127
23
+ module V129
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -47,6 +47,7 @@ module Selenium
47
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
48
  response_received_early_hints: 'responseReceivedEarlyHints',
49
49
  trust_token_operation_done: 'trustTokenOperationDone',
50
+ policy_updated: 'policyUpdated',
50
51
  subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
51
52
  subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
52
53
  subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
@@ -269,6 +270,6 @@ module Selenium
269
270
  end
270
271
 
271
272
  end # Network
272
- end # V127
273
+ end # V129
273
274
  end # DevTools
274
275
  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 V127
23
+ module V129
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 # V127
205
+ end # V129
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 V126
23
+ module V129
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -405,6 +405,6 @@ module Selenium
405
405
  end
406
406
 
407
407
  end # Page
408
- end # V126
408
+ end # V129
409
409
  end # DevTools
410
410
  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 V126
23
+ module V129
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 # V126
57
+ end # V129
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 V127
23
+ module V129
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 # V127
44
+ end # V129
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 V126
23
+ module V129
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 # V126
52
+ end # V129
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 V126
23
+ module V129
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 # V126
81
+ end # V129
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 V127
23
+ module V129
24
24
  class PWA
25
25
 
26
26
  def initialize(devtools)
@@ -65,7 +65,14 @@ module Selenium
65
65
  manifestId: manifest_id)
66
66
  end
67
67
 
68
+ def change_app_user_settings(manifest_id:, link_capturing: nil, display_mode: nil)
69
+ @devtools.send_cmd('PWA.changeAppUserSettings',
70
+ manifestId: manifest_id,
71
+ linkCapturing: link_capturing,
72
+ displayMode: display_mode)
73
+ end
74
+
68
75
  end # PWA
69
- end # V127
76
+ end # V129
70
77
  end # DevTools
71
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 V127
23
+ module V129
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 # V127
200
+ end # V129
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 V127
23
+ module V129
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 # V127
40
+ end # V129
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 V127
23
+ module V129
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 # V127
65
+ end # V129
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 V126
23
+ module V129
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 # V126
110
+ end # V129
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 V127
23
+ module V129
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -228,6 +228,6 @@ module Selenium
228
228
  end
229
229
 
230
230
  end # Storage
231
- end # V127
231
+ end # V129
232
232
  end # DevTools
233
233
  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 V126
23
+ module V129
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 # V126
49
+ end # V129
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 V126
23
+ module V129
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 # V126
149
+ end # V129
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 V127
23
+ module V129
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 # V127
49
+ end # V129
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 V126
23
+ module V129
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 # V126
73
+ end # V129
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 V126
23
+ module V129
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 # V126
64
+ end # V129
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 V127
23
+ module V129
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -112,6 +112,6 @@ module Selenium
112
112
  end
113
113
 
114
114
  end # WebAuthn
115
- end # V127
115
+ end # V129
116
116
  end # DevTools
117
117
  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__))}/v126/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v129/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V126
26
+ module V129
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -45,6 +45,7 @@ module Selenium
45
45
  emulation: 'Emulation',
46
46
  headless_experimental: 'HeadlessExperimental',
47
47
  io: 'IO',
48
+ file_system: 'FileSystem',
48
49
  indexed_db: 'IndexedDB',
49
50
  input: 'Input',
50
51
  inspector: 'Inspector',
@@ -71,6 +72,7 @@ module Selenium
71
72
  preload: 'Preload',
72
73
  fed_cm: 'FedCm',
73
74
  pwa: 'PWA',
75
+ bluetooth_emulation: 'BluetoothEmulation',
74
76
  console: 'Console',
75
77
  debugger: 'Debugger',
76
78
  heap_profiler: 'HeapProfiler',
@@ -78,6 +80,6 @@ module Selenium
78
80
  runtime: 'Runtime',
79
81
  schema: 'Schema',
80
82
  }.freeze
81
- end # V126
83
+ end # V129
82
84
  end # DevTools
83
85
  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 V126
23
+ module V130
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 # V126
89
+ end # V130
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 V126
23
+ module V130
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 # V126
93
+ end # V130
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 V126
23
+ module V130
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 # V126
64
+ end # V130
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 V127
23
+ module V130
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 # V127
59
+ end # V130
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 V126
23
+ module V130
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 # V126
61
+ end # V130
62
62
  end # DevTools
63
63
  end # Selenium
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Licensed to the Software Freedom Conservancy (SFC) under one
4
+ # or more contributor license agreements. See the NOTICE file
5
+ # distributed with this work for additional information
6
+ # regarding copyright ownership. The SFC licenses this file
7
+ # to you under the Apache License, Version 2.0 (the
8
+ # "License"); you may not use this file except in compliance
9
+ # with the License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing,
14
+ # software distributed under the License is distributed on an
15
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ # KIND, either express or implied. See the License for the
17
+ # specific language governing permissions and limitations
18
+ # under the License.
19
+
20
+ # This file is automatically generated. Any changes will be lost!
21
+ module Selenium
22
+ module DevTools
23
+ module V130
24
+ class BluetoothEmulation
25
+
26
+ def initialize(devtools)
27
+ @devtools = devtools
28
+ end
29
+
30
+ def on(event, &block)
31
+ event = EVENTS[event] if event.is_a?(Symbol)
32
+ @devtools.callbacks["BluetoothEmulation.#{event}"] << block
33
+ end
34
+
35
+ def enable(state:)
36
+ @devtools.send_cmd('BluetoothEmulation.enable',
37
+ state: state)
38
+ end
39
+
40
+ def disable
41
+ @devtools.send_cmd('BluetoothEmulation.disable')
42
+ end
43
+
44
+ def simulate_preconnected_peripheral(address:, name:, manufacturer_data:, known_service_uuids:)
45
+ @devtools.send_cmd('BluetoothEmulation.simulatePreconnectedPeripheral',
46
+ address: address,
47
+ name: name,
48
+ manufacturerData: manufacturer_data,
49
+ knownServiceUuids: known_service_uuids)
50
+ end
51
+
52
+ def simulate_advertisement(entry:)
53
+ @devtools.send_cmd('BluetoothEmulation.simulateAdvertisement',
54
+ entry: entry)
55
+ end
56
+
57
+ end # BluetoothEmulation
58
+ end # V130
59
+ end # DevTools
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 V126
23
+ module V130
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 # V126
138
+ end # V130
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 V126
23
+ module V130
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 # V126
69
+ end # V130
70
70
  end # DevTools
71
71
  end # Selenium