@checkly/playwright-core 1.42.18 → 1.47.20-alpha

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 (238) hide show
  1. package/ThirdPartyNotices.txt +144 -109
  2. package/browsers.json +15 -25
  3. package/lib/androidServerImpl.js +1 -1
  4. package/lib/browserServerImpl.js +1 -1
  5. package/lib/cli/driver.js +1 -3
  6. package/lib/cli/program.js +5 -10
  7. package/lib/client/android.js +1 -1
  8. package/lib/client/api.js +7 -0
  9. package/lib/client/browserContext.js +37 -5
  10. package/lib/client/browserType.js +19 -11
  11. package/lib/client/channelOwner.js +19 -16
  12. package/lib/client/clientInstrumentation.js +17 -7
  13. package/lib/client/clock.js +68 -0
  14. package/lib/client/connection.js +9 -6
  15. package/lib/client/electron.js +7 -5
  16. package/lib/client/elementHandle.js +44 -14
  17. package/lib/client/eventEmitter.js +314 -0
  18. package/lib/client/fetch.js +81 -28
  19. package/lib/client/frame.js +2 -4
  20. package/lib/client/jsHandle.js +7 -1
  21. package/lib/client/locator.js +9 -0
  22. package/lib/client/network.js +12 -9
  23. package/lib/client/page.js +45 -23
  24. package/lib/client/playwright.js +3 -0
  25. package/lib/client/tracing.js +7 -4
  26. package/lib/common/socksProxy.js +2 -2
  27. package/lib/generated/clockSource.js +7 -0
  28. package/lib/generated/injectedScriptSource.js +1 -1
  29. package/lib/generated/recorderSource.js +1 -1
  30. package/lib/generated/utilityScriptSource.js +1 -1
  31. package/lib/protocol/serializers.js +12 -11
  32. package/lib/protocol/validator.js +137 -55
  33. package/lib/server/bidi/bidiBrowser.js +296 -0
  34. package/lib/server/bidi/bidiConnection.js +206 -0
  35. package/lib/server/bidi/bidiExecutionContext.js +162 -0
  36. package/lib/server/bidi/bidiFirefox.js +110 -0
  37. package/lib/server/bidi/bidiInput.js +174 -0
  38. package/lib/server/bidi/bidiNetworkManager.js +304 -0
  39. package/lib/server/bidi/bidiPage.js +456 -0
  40. package/lib/server/bidi/third_party/bidiDeserializer.js +93 -0
  41. package/lib/server/bidi/third_party/bidiKeyboard.js +238 -0
  42. package/lib/server/bidi/third_party/bidiProtocol.js +139 -0
  43. package/lib/server/bidi/third_party/bidiSerializer.js +144 -0
  44. package/lib/server/browser.js +9 -1
  45. package/lib/server/browserContext.js +97 -22
  46. package/lib/server/browserType.js +27 -20
  47. package/lib/server/chromium/chromium.js +30 -15
  48. package/lib/server/chromium/chromiumSwitches.js +6 -3
  49. package/lib/server/chromium/crBrowser.js +11 -17
  50. package/lib/server/chromium/crConnection.js +2 -2
  51. package/lib/server/chromium/crDragDrop.js +28 -29
  52. package/lib/server/chromium/crNetworkManager.js +130 -84
  53. package/lib/server/chromium/crPage.js +34 -79
  54. package/lib/server/chromium/crProtocolHelper.js +3 -1
  55. package/lib/server/chromium/crServiceWorker.js +20 -23
  56. package/lib/server/chromium/videoRecorder.js +1 -1
  57. package/lib/server/clock.js +125 -0
  58. package/lib/server/codegen/csharp.js +299 -0
  59. package/lib/server/codegen/java.js +235 -0
  60. package/lib/server/codegen/javascript.js +223 -0
  61. package/lib/server/codegen/jsonl.js +47 -0
  62. package/lib/server/codegen/language.js +76 -0
  63. package/lib/server/codegen/languages.js +30 -0
  64. package/lib/server/codegen/python.js +265 -0
  65. package/lib/server/codegen/types.js +5 -0
  66. package/lib/server/debugController.js +3 -5
  67. package/lib/server/deviceDescriptors.js +9 -4
  68. package/lib/server/deviceDescriptorsSource.json +239 -119
  69. package/lib/server/dispatchers/androidDispatcher.js +1 -1
  70. package/lib/server/dispatchers/browserContextDispatcher.js +51 -7
  71. package/lib/server/dispatchers/dispatcher.js +36 -40
  72. package/lib/server/dispatchers/frameDispatcher.js +1 -2
  73. package/lib/server/dispatchers/jsHandleDispatcher.js +1 -1
  74. package/lib/server/dispatchers/jsonPipeDispatcher.js +4 -6
  75. package/lib/server/dispatchers/localUtilsDispatcher.js +19 -5
  76. package/lib/server/dispatchers/networkDispatchers.js +2 -2
  77. package/lib/server/dispatchers/pageDispatcher.js +5 -2
  78. package/lib/server/dispatchers/playwrightDispatcher.js +1 -0
  79. package/lib/server/dispatchers/writableStreamDispatcher.js +8 -5
  80. package/lib/server/dom.js +90 -53
  81. package/lib/server/electron/electron.js +21 -4
  82. package/lib/server/fetch.js +74 -25
  83. package/lib/server/fileUploadUtils.js +7 -3
  84. package/lib/server/firefox/ffBrowser.js +36 -25
  85. package/lib/server/firefox/ffConnection.js +2 -2
  86. package/lib/server/firefox/ffNetworkManager.js +6 -4
  87. package/lib/server/firefox/ffPage.js +22 -24
  88. package/lib/server/firefox/firefox.js +25 -6
  89. package/lib/server/frameSelectors.js +2 -2
  90. package/lib/server/frames.js +205 -159
  91. package/lib/server/har/harTracer.js +4 -12
  92. package/lib/server/helper.js +3 -3
  93. package/lib/server/index.js +18 -0
  94. package/lib/server/input.js +18 -8
  95. package/lib/server/instrumentation.js +0 -4
  96. package/lib/server/isomorphic/utilityScriptSerializers.js +19 -5
  97. package/lib/server/javascript.js +3 -2
  98. package/lib/server/launchApp.js +3 -2
  99. package/lib/server/network.js +14 -4
  100. package/lib/server/page.js +75 -46
  101. package/lib/server/playwright.js +5 -2
  102. package/lib/server/recorder/codeGenerator.js +2 -1
  103. package/lib/server/recorder/contextRecorder.js +316 -0
  104. package/lib/server/recorder/csharp.js +2 -1
  105. package/lib/server/recorder/java.js +2 -1
  106. package/lib/server/recorder/javascript.js +2 -1
  107. package/lib/server/recorder/jsonl.js +2 -1
  108. package/lib/server/recorder/language.js +2 -1
  109. package/lib/server/recorder/python.js +2 -1
  110. package/lib/server/recorder/recorderApp.js +14 -5
  111. package/lib/server/recorder/recorderCollection.js +127 -0
  112. package/lib/server/recorder/recorderRunner.js +177 -0
  113. package/lib/server/recorder/recorderUtils.js +23 -0
  114. package/lib/server/recorder/throttledFile.js +46 -0
  115. package/lib/server/recorder/utils.js +2 -1
  116. package/lib/server/recorder.js +42 -418
  117. package/lib/server/registry/index.js +99 -100
  118. package/lib/server/registry/nativeDeps.js +107 -0
  119. package/lib/server/screenshotter.js +6 -12
  120. package/lib/server/socksClientCertificatesInterceptor.js +328 -0
  121. package/lib/server/trace/recorder/snapshotter.js +4 -1
  122. package/lib/server/trace/recorder/tracing.js +27 -96
  123. package/lib/server/trace/viewer/traceViewer.js +54 -67
  124. package/lib/server/transport.js +1 -1
  125. package/lib/server/webkit/webkit.js +5 -5
  126. package/lib/server/webkit/wkBrowser.js +14 -14
  127. package/lib/server/webkit/wkConnection.js +3 -3
  128. package/lib/server/webkit/wkInterceptableRequest.js +8 -4
  129. package/lib/server/webkit/wkPage.js +52 -34
  130. package/lib/server/webkit/wkProvisionalPage.js +36 -1
  131. package/lib/utils/crypto.js +141 -0
  132. package/lib/utils/debugLogger.js +2 -0
  133. package/lib/utils/env.js +4 -2
  134. package/lib/utils/expectUtils.js +33 -0
  135. package/lib/utils/fileUtils.js +140 -1
  136. package/lib/utils/glob.js +2 -1
  137. package/lib/utils/happy-eyeballs.js +29 -2
  138. package/lib/utils/hostPlatform.js +13 -4
  139. package/lib/utils/httpServer.js +54 -13
  140. package/lib/utils/index.js +53 -31
  141. package/lib/utils/isomorphic/cssTokenizer.js +1 -1
  142. package/lib/utils/isomorphic/locatorParser.js +1 -1
  143. package/lib/utils/isomorphic/mimeType.js +29 -0
  144. package/lib/utils/isomorphic/stringUtils.js +28 -1
  145. package/lib/utils/isomorphic/urlMatch.js +120 -0
  146. package/lib/utils/mimeType.js +2 -1
  147. package/lib/utils/network.js +7 -35
  148. package/lib/utils/stackTrace.js +2 -4
  149. package/lib/utils/timeoutRunner.js +11 -76
  150. package/lib/utils/zones.js +23 -60
  151. package/lib/utilsBundle.js +2 -1
  152. package/lib/utilsBundleImpl/index.js +33 -31
  153. package/lib/vite/htmlReport/index.html +12 -12
  154. package/lib/vite/recorder/assets/codeMirrorModule-C-fQ5QZD.js +24 -0
  155. package/lib/vite/recorder/assets/{codicon-zGuYmc9o.ttf → codicon-DCmgc-ay.ttf} +0 -0
  156. package/lib/vite/recorder/assets/index-B-MT5gKo.css +1 -0
  157. package/lib/vite/recorder/assets/index-D-5S5PPN.js +47 -0
  158. package/lib/vite/recorder/index.html +2 -2
  159. package/lib/vite/traceViewer/assets/codeMirrorModule-5yiV-3wl.js +16831 -0
  160. package/lib/vite/traceViewer/assets/codeMirrorModule-B7Z3vq11.js +24 -0
  161. package/lib/vite/traceViewer/assets/codeMirrorModule-C6p3E9Zg.js +24 -0
  162. package/lib/vite/traceViewer/assets/codeMirrorModule-CqYUz5ms.js +24 -0
  163. package/lib/vite/traceViewer/assets/codeMirrorModule-Dx6AXgMV.js +16838 -0
  164. package/lib/vite/traceViewer/assets/codeMirrorModule-T_sdMrbM.js +24 -0
  165. package/lib/vite/traceViewer/assets/codeMirrorModule-V7N6ppkd.js +15585 -0
  166. package/lib/vite/traceViewer/assets/testServerConnection-D-tXL3sj.js +224 -0
  167. package/lib/vite/traceViewer/assets/testServerConnection-DeE2kSzz.js +1 -0
  168. package/lib/vite/traceViewer/assets/workbench-Bjkiwcr1.js +19119 -0
  169. package/lib/vite/traceViewer/assets/workbench-C43LWZEX.js +72 -0
  170. package/lib/vite/traceViewer/assets/workbench-C5OQh9VX.js +19119 -0
  171. package/lib/vite/traceViewer/assets/workbench-DrQjKdyE.js +72 -0
  172. package/lib/vite/traceViewer/assets/workbench-caTaZnzx.js +72 -0
  173. package/lib/vite/traceViewer/assets/workbench-u2lRPMOT.js +72 -0
  174. package/lib/vite/traceViewer/assets/wsPort-EUvw-dwH.js +18540 -0
  175. package/lib/vite/traceViewer/assets/xtermModule-CZ7sDYXB.js +6529 -0
  176. package/lib/vite/traceViewer/assets/xtermModule-_6TC5FYT.js +6529 -0
  177. package/lib/vite/traceViewer/codeMirrorModule.Cy8X9Wtw.css +344 -0
  178. package/lib/vite/traceViewer/codeMirrorModule.svF_VrcJ.css +344 -0
  179. package/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  180. package/lib/vite/traceViewer/embedded.BQq6Psnz.js +104 -0
  181. package/lib/vite/traceViewer/embedded.BVDVQOzc.js +2 -0
  182. package/lib/vite/traceViewer/embedded.Bn8Ptzv6.js +2 -0
  183. package/lib/vite/traceViewer/embedded.CvhnUgIi.js +2 -0
  184. package/lib/vite/traceViewer/embedded.D27cnKiB.js +104 -0
  185. package/lib/vite/traceViewer/embedded.DPqrDeET.js +2 -0
  186. package/lib/vite/traceViewer/embedded.DjZq4InJ.css +68 -0
  187. package/lib/vite/traceViewer/embedded.html +16 -0
  188. package/lib/vite/traceViewer/embedded.w7WN2u1R.css +1 -0
  189. package/lib/vite/traceViewer/index.5mge2rY_.css +124 -0
  190. package/lib/vite/traceViewer/index.6KJ-JQ0L.js +180 -0
  191. package/lib/vite/traceViewer/index.B8dgQwuN.js +2 -0
  192. package/lib/vite/traceViewer/index.BGj8jY3H.js +2 -0
  193. package/lib/vite/traceViewer/index.C0EgJ4oW.js +195 -0
  194. package/lib/vite/traceViewer/index.CUpI-BFe.js +195 -0
  195. package/lib/vite/traceViewer/{index.-g_5lMbJ.css → index.CrbWWHbf.css} +1 -1
  196. package/lib/vite/traceViewer/index.QanXxRUb.css +131 -0
  197. package/lib/vite/traceViewer/index._cX8k4co.js +2 -0
  198. package/lib/vite/traceViewer/index.html +5 -4
  199. package/lib/vite/traceViewer/index.pMAN88y-.js +2 -0
  200. package/lib/vite/traceViewer/snapshot.html +1 -1
  201. package/lib/vite/traceViewer/sw.bundle.js +3 -4
  202. package/lib/vite/traceViewer/uiMode.D-tg1Oci.js +1730 -0
  203. package/lib/vite/traceViewer/uiMode.D3cNFP6u.css +1 -0
  204. package/lib/vite/traceViewer/uiMode.DKjMBMlc.js +1730 -0
  205. package/lib/vite/traceViewer/uiMode.DVWUEIHq.css +1424 -0
  206. package/lib/vite/traceViewer/uiMode.DVrL7a1K.js +10 -0
  207. package/lib/vite/traceViewer/uiMode.Dg9oJCQU.js +10 -0
  208. package/lib/vite/traceViewer/uiMode.DwZAzstF.js +10 -0
  209. package/lib/vite/traceViewer/uiMode.html +5 -4
  210. package/lib/vite/traceViewer/uiMode.iq7CyYy7.js +1490 -0
  211. package/lib/vite/traceViewer/uiMode.jY2s-9ps.js +10 -0
  212. package/lib/vite/traceViewer/uiMode.xvJHbkzl.css +1324 -0
  213. package/lib/vite/traceViewer/workbench.B3X2QtYa.css +3702 -0
  214. package/lib/vite/traceViewer/workbench.DyTpxWVb.css +1 -0
  215. package/lib/vite/traceViewer/wsPort.p5jUwABW.css +3450 -0
  216. package/lib/vite/traceViewer/xtermModule.4oRVGWQ-.css +209 -0
  217. package/lib/vite/traceViewer/xtermModule.OKEVRlkP.css +209 -0
  218. package/package.json +2 -2
  219. package/types/protocol.d.ts +960 -78
  220. package/types/structs.d.ts +1 -1
  221. package/types/types.d.ts +3083 -2448
  222. package/lib/vite/recorder/assets/codeMirrorModule-W69B4LBB.js +0 -24
  223. package/lib/vite/recorder/assets/index-Ly3PcVUb.js +0 -47
  224. package/lib/vite/recorder/assets/index-ljsTwXtJ.css +0 -1
  225. package/lib/vite/traceViewer/assets/codeMirrorModule-0bpaqixv.js +0 -24
  226. package/lib/vite/traceViewer/assets/codeMirrorModule-wLpsbIhd.js +0 -24
  227. package/lib/vite/traceViewer/assets/wsPort-_JBDEilC.js +0 -69
  228. package/lib/vite/traceViewer/assets/wsPort-f2dAQL4I.js +0 -69
  229. package/lib/vite/traceViewer/index.-_8-eHEE.js +0 -2
  230. package/lib/vite/traceViewer/index.u51inEcm.js +0 -2
  231. package/lib/vite/traceViewer/uiMode.9CwNsWc6.js +0 -10
  232. package/lib/vite/traceViewer/uiMode.Fb0bNA4H.js +0 -10
  233. package/lib/vite/traceViewer/uiMode.pWy0Re7G.css +0 -1
  234. package/lib/vite/traceViewer/wsPort.zR1WIy9-.css +0 -1
  235. /package/lib/vite/recorder/assets/{codeMirrorModule-Hs9-1ZG4.css → codeMirrorModule-ez37Vkbh.css} +0 -0
  236. /package/lib/vite/traceViewer/assets/{xtermModule-Yt6xwiJ_.js → xtermModule-BeNbaIVa.js} +0 -0
  237. /package/lib/vite/traceViewer/{codeMirrorModule.Hs9-1ZG4.css → codeMirrorModule.ez37Vkbh.css} +0 -0
  238. /package/lib/vite/traceViewer/{xtermModule.0lwXJFHT.css → xtermModule.DSXBckUd.css} +0 -0
@@ -60,7 +60,7 @@ _validatorPrimitives.scheme.Metadata = (0, _validatorPrimitives.tObject)({
60
60
  })),
61
61
  apiName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
62
62
  internal: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
63
- wallTime: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
63
+ stepId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
64
64
  });
65
65
  _validatorPrimitives.scheme.ClientSideCallMetadata = (0, _validatorPrimitives.tObject)({
66
66
  id: _validatorPrimitives.tNumber,
@@ -84,6 +84,11 @@ _validatorPrimitives.scheme.SerializedValue = (0, _validatorPrimitives.tObject)(
84
84
  d: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
85
85
  u: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
86
86
  bi: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
87
+ e: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
88
+ m: _validatorPrimitives.tString,
89
+ n: _validatorPrimitives.tString,
90
+ s: _validatorPrimitives.tString
91
+ })),
87
92
  r: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
88
93
  p: _validatorPrimitives.tString,
89
94
  f: _validatorPrimitives.tString
@@ -208,6 +213,7 @@ _validatorPrimitives.scheme.APIRequestContextFetchParams = (0, _validatorPrimiti
208
213
  failOnStatusCode: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
209
214
  ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
210
215
  maxRedirects: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
216
+ maxRetries: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
211
217
  tokenizedURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
212
218
  cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
213
219
  key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
@@ -238,7 +244,9 @@ _validatorPrimitives.scheme.APIRequestContextDisposeAPIResponseParams = (0, _val
238
244
  fetchUid: _validatorPrimitives.tString
239
245
  });
240
246
  _validatorPrimitives.scheme.APIRequestContextDisposeAPIResponseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
241
- _validatorPrimitives.scheme.APIRequestContextDisposeParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
247
+ _validatorPrimitives.scheme.APIRequestContextDisposeParams = (0, _validatorPrimitives.tObject)({
248
+ reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
249
+ });
242
250
  _validatorPrimitives.scheme.APIRequestContextDisposeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
243
251
  _validatorPrimitives.scheme.APIResponse = (0, _validatorPrimitives.tObject)({
244
252
  fetchUid: _validatorPrimitives.tString,
@@ -371,6 +379,7 @@ _validatorPrimitives.scheme.RootInitializeResult = (0, _validatorPrimitives.tObj
371
379
  });
372
380
  _validatorPrimitives.scheme.PlaywrightInitializer = (0, _validatorPrimitives.tObject)({
373
381
  chromium: (0, _validatorPrimitives.tChannel)(['BrowserType']),
382
+ bidi: (0, _validatorPrimitives.tChannel)(['BrowserType']),
374
383
  firefox: (0, _validatorPrimitives.tChannel)(['BrowserType']),
375
384
  webkit: (0, _validatorPrimitives.tChannel)(['BrowserType']),
376
385
  android: (0, _validatorPrimitives.tChannel)(['Android']),
@@ -386,10 +395,18 @@ _validatorPrimitives.scheme.PlaywrightNewRequestParams = (0, _validatorPrimitive
386
395
  userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
387
396
  ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
388
397
  extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
398
+ clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
399
+ origin: _validatorPrimitives.tString,
400
+ cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
401
+ key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
402
+ passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
403
+ pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
404
+ }))),
389
405
  httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
390
406
  username: _validatorPrimitives.tString,
391
407
  password: _validatorPrimitives.tString,
392
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
408
+ origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
409
+ send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
393
410
  })),
394
411
  proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
395
412
  server: _validatorPrimitives.tString,
@@ -586,6 +603,13 @@ _validatorPrimitives.scheme.BrowserTypeLaunchPersistentContextParams = (0, _vali
586
603
  height: _validatorPrimitives.tNumber
587
604
  })),
588
605
  ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
606
+ clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
607
+ origin: _validatorPrimitives.tString,
608
+ cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
609
+ key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
610
+ passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
611
+ pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
612
+ }))),
589
613
  javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
590
614
  bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
591
615
  userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
@@ -602,7 +626,8 @@ _validatorPrimitives.scheme.BrowserTypeLaunchPersistentContextParams = (0, _vali
602
626
  httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
603
627
  username: _validatorPrimitives.tString,
604
628
  password: _validatorPrimitives.tString,
605
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
629
+ origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
630
+ send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
606
631
  })),
607
632
  deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
608
633
  isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
@@ -664,6 +689,13 @@ _validatorPrimitives.scheme.BrowserNewContextParams = (0, _validatorPrimitives.t
664
689
  height: _validatorPrimitives.tNumber
665
690
  })),
666
691
  ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
692
+ clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
693
+ origin: _validatorPrimitives.tString,
694
+ cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
695
+ key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
696
+ passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
697
+ pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
698
+ }))),
667
699
  javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
668
700
  bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
669
701
  userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
@@ -680,7 +712,8 @@ _validatorPrimitives.scheme.BrowserNewContextParams = (0, _validatorPrimitives.t
680
712
  httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
681
713
  username: _validatorPrimitives.tString,
682
714
  password: _validatorPrimitives.tString,
683
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
715
+ origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
716
+ send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
684
717
  })),
685
718
  deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
686
719
  isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
@@ -725,6 +758,13 @@ _validatorPrimitives.scheme.BrowserNewContextForReuseParams = (0, _validatorPrim
725
758
  height: _validatorPrimitives.tNumber
726
759
  })),
727
760
  ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
761
+ clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
762
+ origin: _validatorPrimitives.tString,
763
+ cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
764
+ key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
765
+ passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
766
+ pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
767
+ }))),
728
768
  javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
729
769
  bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
730
770
  userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
@@ -741,7 +781,8 @@ _validatorPrimitives.scheme.BrowserNewContextForReuseParams = (0, _validatorPrim
741
781
  httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
742
782
  username: _validatorPrimitives.tString,
743
783
  password: _validatorPrimitives.tString,
744
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
784
+ origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
785
+ send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
745
786
  })),
746
787
  deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
747
788
  isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
@@ -884,7 +925,17 @@ _validatorPrimitives.scheme.BrowserContextAddInitScriptParams = (0, _validatorPr
884
925
  source: _validatorPrimitives.tString
885
926
  });
886
927
  _validatorPrimitives.scheme.BrowserContextAddInitScriptResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
887
- _validatorPrimitives.scheme.BrowserContextClearCookiesParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
928
+ _validatorPrimitives.scheme.BrowserContextClearCookiesParams = (0, _validatorPrimitives.tObject)({
929
+ name: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
930
+ nameRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
931
+ nameRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
932
+ domain: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
933
+ domainRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
934
+ domainRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
935
+ path: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
936
+ pathRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
937
+ pathRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
938
+ });
888
939
  _validatorPrimitives.scheme.BrowserContextClearCookiesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
889
940
  _validatorPrimitives.scheme.BrowserContextClearPermissionsParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
890
941
  _validatorPrimitives.scheme.BrowserContextClearPermissionsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
@@ -969,7 +1020,6 @@ _validatorPrimitives.scheme.BrowserContextRecorderSupplementEnableParams = (0, _
969
1020
  device: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
970
1021
  saveStorage: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
971
1022
  outputFile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
972
- handleSIGINT: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
973
1023
  omitCallTracking: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
974
1024
  });
975
1025
  _validatorPrimitives.scheme.BrowserContextRecorderSupplementEnableResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
@@ -993,18 +1043,54 @@ _validatorPrimitives.scheme.BrowserContextHarExportParams = (0, _validatorPrimit
993
1043
  _validatorPrimitives.scheme.BrowserContextHarExportResult = (0, _validatorPrimitives.tObject)({
994
1044
  artifact: (0, _validatorPrimitives.tChannel)(['Artifact'])
995
1045
  });
996
- _validatorPrimitives.scheme.BrowserContextCreateTempFileParams = (0, _validatorPrimitives.tObject)({
997
- name: _validatorPrimitives.tString,
998
- lastModifiedMs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1046
+ _validatorPrimitives.scheme.BrowserContextCreateTempFilesParams = (0, _validatorPrimitives.tObject)({
1047
+ rootDirName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1048
+ items: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1049
+ name: _validatorPrimitives.tString,
1050
+ lastModifiedMs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1051
+ }))
999
1052
  });
1000
- _validatorPrimitives.scheme.BrowserContextCreateTempFileResult = (0, _validatorPrimitives.tObject)({
1001
- writableStream: (0, _validatorPrimitives.tChannel)(['WritableStream'])
1053
+ _validatorPrimitives.scheme.BrowserContextCreateTempFilesResult = (0, _validatorPrimitives.tObject)({
1054
+ rootDir: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['WritableStream'])),
1055
+ writableStreams: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['WritableStream']))
1002
1056
  });
1003
1057
  _validatorPrimitives.scheme.BrowserContextUpdateSubscriptionParams = (0, _validatorPrimitives.tObject)({
1004
1058
  event: (0, _validatorPrimitives.tEnum)(['console', 'dialog', 'request', 'response', 'requestFinished', 'requestFailed']),
1005
1059
  enabled: _validatorPrimitives.tBoolean
1006
1060
  });
1007
1061
  _validatorPrimitives.scheme.BrowserContextUpdateSubscriptionResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1062
+ _validatorPrimitives.scheme.BrowserContextClockFastForwardParams = (0, _validatorPrimitives.tObject)({
1063
+ ticksNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1064
+ ticksString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1065
+ });
1066
+ _validatorPrimitives.scheme.BrowserContextClockFastForwardResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1067
+ _validatorPrimitives.scheme.BrowserContextClockInstallParams = (0, _validatorPrimitives.tObject)({
1068
+ timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1069
+ timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1070
+ });
1071
+ _validatorPrimitives.scheme.BrowserContextClockInstallResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1072
+ _validatorPrimitives.scheme.BrowserContextClockPauseAtParams = (0, _validatorPrimitives.tObject)({
1073
+ timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1074
+ timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1075
+ });
1076
+ _validatorPrimitives.scheme.BrowserContextClockPauseAtResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1077
+ _validatorPrimitives.scheme.BrowserContextClockResumeParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1078
+ _validatorPrimitives.scheme.BrowserContextClockResumeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1079
+ _validatorPrimitives.scheme.BrowserContextClockRunForParams = (0, _validatorPrimitives.tObject)({
1080
+ ticksNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1081
+ ticksString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1082
+ });
1083
+ _validatorPrimitives.scheme.BrowserContextClockRunForResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1084
+ _validatorPrimitives.scheme.BrowserContextClockSetFixedTimeParams = (0, _validatorPrimitives.tObject)({
1085
+ timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1086
+ timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1087
+ });
1088
+ _validatorPrimitives.scheme.BrowserContextClockSetFixedTimeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1089
+ _validatorPrimitives.scheme.BrowserContextClockSetSystemTimeParams = (0, _validatorPrimitives.tObject)({
1090
+ timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1091
+ timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1092
+ });
1093
+ _validatorPrimitives.scheme.BrowserContextClockSetSystemTimeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1008
1094
  _validatorPrimitives.scheme.PageInitializer = (0, _validatorPrimitives.tObject)({
1009
1095
  mainFrame: (0, _validatorPrimitives.tChannel)(['Frame']),
1010
1096
  viewportSize: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
@@ -1093,15 +1179,21 @@ _validatorPrimitives.scheme.PageGoForwardResult = (0, _validatorPrimitives.tObje
1093
1179
  response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response']))
1094
1180
  });
1095
1181
  _validatorPrimitives.scheme.PageRegisterLocatorHandlerParams = (0, _validatorPrimitives.tObject)({
1096
- selector: _validatorPrimitives.tString
1182
+ selector: _validatorPrimitives.tString,
1183
+ noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1097
1184
  });
1098
1185
  _validatorPrimitives.scheme.PageRegisterLocatorHandlerResult = (0, _validatorPrimitives.tObject)({
1099
1186
  uid: _validatorPrimitives.tNumber
1100
1187
  });
1101
1188
  _validatorPrimitives.scheme.PageResolveLocatorHandlerNoReplyParams = (0, _validatorPrimitives.tObject)({
1102
- uid: _validatorPrimitives.tNumber
1189
+ uid: _validatorPrimitives.tNumber,
1190
+ remove: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1103
1191
  });
1104
1192
  _validatorPrimitives.scheme.PageResolveLocatorHandlerNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1193
+ _validatorPrimitives.scheme.PageUnregisterLocatorHandlerParams = (0, _validatorPrimitives.tObject)({
1194
+ uid: _validatorPrimitives.tNumber
1195
+ });
1196
+ _validatorPrimitives.scheme.PageUnregisterLocatorHandlerResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1105
1197
  _validatorPrimitives.scheme.PageReloadParams = (0, _validatorPrimitives.tObject)({
1106
1198
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1107
1199
  waitUntil: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent'))
@@ -1373,7 +1465,6 @@ _validatorPrimitives.scheme.FrameCheckParams = (0, _validatorPrimitives.tObject)
1373
1465
  selector: _validatorPrimitives.tString,
1374
1466
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1375
1467
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1376
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1377
1468
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1378
1469
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1379
1470
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
@@ -1384,7 +1475,7 @@ _validatorPrimitives.scheme.FrameClickParams = (0, _validatorPrimitives.tObject)
1384
1475
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1385
1476
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1386
1477
  noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1387
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1478
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1388
1479
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1389
1480
  delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1390
1481
  button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
@@ -1401,7 +1492,6 @@ _validatorPrimitives.scheme.FrameDragAndDropParams = (0, _validatorPrimitives.tO
1401
1492
  source: _validatorPrimitives.tString,
1402
1493
  target: _validatorPrimitives.tString,
1403
1494
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1404
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1405
1495
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1406
1496
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1407
1497
  sourcePosition: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
@@ -1413,8 +1503,7 @@ _validatorPrimitives.scheme.FrameDblclickParams = (0, _validatorPrimitives.tObje
1413
1503
  selector: _validatorPrimitives.tString,
1414
1504
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1415
1505
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1416
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1417
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1506
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1418
1507
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1419
1508
  delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1420
1509
  button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
@@ -1433,7 +1522,6 @@ _validatorPrimitives.scheme.FrameDispatchEventResult = (0, _validatorPrimitives.
1433
1522
  _validatorPrimitives.scheme.FrameEvaluateExpressionParams = (0, _validatorPrimitives.tObject)({
1434
1523
  expression: _validatorPrimitives.tString,
1435
1524
  isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1436
- exposeUtilityScript: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1437
1525
  arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1438
1526
  });
1439
1527
  _validatorPrimitives.scheme.FrameEvaluateExpressionResult = (0, _validatorPrimitives.tObject)({
@@ -1452,8 +1540,7 @@ _validatorPrimitives.scheme.FrameFillParams = (0, _validatorPrimitives.tObject)(
1452
1540
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1453
1541
  value: _validatorPrimitives.tString,
1454
1542
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1455
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1456
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1543
+ timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1457
1544
  });
1458
1545
  _validatorPrimitives.scheme.FrameFillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1459
1546
  _validatorPrimitives.scheme.FrameFocusParams = (0, _validatorPrimitives.tObject)({
@@ -1492,11 +1579,10 @@ _validatorPrimitives.scheme.FrameHoverParams = (0, _validatorPrimitives.tObject)
1492
1579
  selector: _validatorPrimitives.tString,
1493
1580
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1494
1581
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1495
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1582
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1496
1583
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1497
1584
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1498
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1499
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1585
+ trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1500
1586
  });
1501
1587
  _validatorPrimitives.scheme.FrameHoverResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1502
1588
  _validatorPrimitives.scheme.FrameInnerHTMLParams = (0, _validatorPrimitives.tObject)({
@@ -1608,8 +1694,7 @@ _validatorPrimitives.scheme.FrameSelectOptionParams = (0, _validatorPrimitives.t
1608
1694
  index: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1609
1695
  }))),
1610
1696
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1611
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1612
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1697
+ timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1613
1698
  });
1614
1699
  _validatorPrimitives.scheme.FrameSelectOptionResult = (0, _validatorPrimitives.tObject)({
1615
1700
  values: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)
@@ -1628,18 +1713,18 @@ _validatorPrimitives.scheme.FrameSetInputFilesParams = (0, _validatorPrimitives.
1628
1713
  mimeType: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1629
1714
  buffer: _validatorPrimitives.tBinary
1630
1715
  }))),
1716
+ localDirectory: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1717
+ directoryStream: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['WritableStream'])),
1631
1718
  localPaths: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
1632
1719
  streams: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['WritableStream']))),
1633
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1634
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1720
+ timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1635
1721
  });
1636
1722
  _validatorPrimitives.scheme.FrameSetInputFilesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1637
1723
  _validatorPrimitives.scheme.FrameTapParams = (0, _validatorPrimitives.tObject)({
1638
1724
  selector: _validatorPrimitives.tString,
1639
1725
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1640
1726
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1641
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1642
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1727
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1643
1728
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1644
1729
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1645
1730
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
@@ -1662,7 +1747,6 @@ _validatorPrimitives.scheme.FrameTypeParams = (0, _validatorPrimitives.tObject)(
1662
1747
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1663
1748
  text: _validatorPrimitives.tString,
1664
1749
  delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1665
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1666
1750
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1667
1751
  });
1668
1752
  _validatorPrimitives.scheme.FrameTypeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
@@ -1670,7 +1754,6 @@ _validatorPrimitives.scheme.FrameUncheckParams = (0, _validatorPrimitives.tObjec
1670
1754
  selector: _validatorPrimitives.tString,
1671
1755
  strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1672
1756
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1673
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1674
1757
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1675
1758
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1676
1759
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
@@ -1825,7 +1908,6 @@ _validatorPrimitives.scheme.ElementHandleBoundingBoxResult = (0, _validatorPrimi
1825
1908
  });
1826
1909
  _validatorPrimitives.scheme.ElementHandleCheckParams = (0, _validatorPrimitives.tObject)({
1827
1910
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1828
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1829
1911
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1830
1912
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1831
1913
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
@@ -1834,7 +1916,7 @@ _validatorPrimitives.scheme.ElementHandleCheckResult = (0, _validatorPrimitives.
1834
1916
  _validatorPrimitives.scheme.ElementHandleClickParams = (0, _validatorPrimitives.tObject)({
1835
1917
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1836
1918
  noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1837
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1919
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1838
1920
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1839
1921
  delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1840
1922
  button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
@@ -1849,8 +1931,7 @@ _validatorPrimitives.scheme.ElementHandleContentFrameResult = (0, _validatorPrim
1849
1931
  });
1850
1932
  _validatorPrimitives.scheme.ElementHandleDblclickParams = (0, _validatorPrimitives.tObject)({
1851
1933
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1852
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1853
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1934
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1854
1935
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1855
1936
  delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1856
1937
  button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
@@ -1866,8 +1947,7 @@ _validatorPrimitives.scheme.ElementHandleDispatchEventResult = (0, _validatorPri
1866
1947
  _validatorPrimitives.scheme.ElementHandleFillParams = (0, _validatorPrimitives.tObject)({
1867
1948
  value: _validatorPrimitives.tString,
1868
1949
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1869
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1870
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1950
+ timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1871
1951
  });
1872
1952
  _validatorPrimitives.scheme.ElementHandleFillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1873
1953
  _validatorPrimitives.scheme.ElementHandleFocusParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
@@ -1880,11 +1960,10 @@ _validatorPrimitives.scheme.ElementHandleGetAttributeResult = (0, _validatorPrim
1880
1960
  });
1881
1961
  _validatorPrimitives.scheme.ElementHandleHoverParams = (0, _validatorPrimitives.tObject)({
1882
1962
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1883
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
1963
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1884
1964
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1885
1965
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1886
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1887
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1966
+ trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1888
1967
  });
1889
1968
  _validatorPrimitives.scheme.ElementHandleHoverResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1890
1969
  _validatorPrimitives.scheme.ElementHandleInnerHTMLParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
@@ -1978,8 +2057,7 @@ _validatorPrimitives.scheme.ElementHandleSelectOptionParams = (0, _validatorPrim
1978
2057
  index: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1979
2058
  }))),
1980
2059
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1981
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1982
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
2060
+ timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1983
2061
  });
1984
2062
  _validatorPrimitives.scheme.ElementHandleSelectOptionResult = (0, _validatorPrimitives.tObject)({
1985
2063
  values: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)
@@ -1995,16 +2073,16 @@ _validatorPrimitives.scheme.ElementHandleSetInputFilesParams = (0, _validatorPri
1995
2073
  mimeType: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1996
2074
  buffer: _validatorPrimitives.tBinary
1997
2075
  }))),
2076
+ localDirectory: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2077
+ directoryStream: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['WritableStream'])),
1998
2078
  localPaths: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
1999
2079
  streams: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['WritableStream']))),
2000
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2001
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
2080
+ timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2002
2081
  });
2003
2082
  _validatorPrimitives.scheme.ElementHandleSetInputFilesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2004
2083
  _validatorPrimitives.scheme.ElementHandleTapParams = (0, _validatorPrimitives.tObject)({
2005
2084
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2006
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2007
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'Meta', 'Shift']))),
2085
+ modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
2008
2086
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
2009
2087
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2010
2088
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
@@ -2017,13 +2095,11 @@ _validatorPrimitives.scheme.ElementHandleTextContentResult = (0, _validatorPrimi
2017
2095
  _validatorPrimitives.scheme.ElementHandleTypeParams = (0, _validatorPrimitives.tObject)({
2018
2096
  text: _validatorPrimitives.tString,
2019
2097
  delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2020
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2021
2098
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2022
2099
  });
2023
2100
  _validatorPrimitives.scheme.ElementHandleTypeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2024
2101
  _validatorPrimitives.scheme.ElementHandleUncheckParams = (0, _validatorPrimitives.tObject)({
2025
2102
  force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2026
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2027
2103
  position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
2028
2104
  timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2029
2105
  trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
@@ -2351,8 +2427,6 @@ _validatorPrimitives.scheme.ElectronApplicationUpdateSubscriptionParams = (0, _v
2351
2427
  enabled: _validatorPrimitives.tBoolean
2352
2428
  });
2353
2429
  _validatorPrimitives.scheme.ElectronApplicationUpdateSubscriptionResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2354
- _validatorPrimitives.scheme.ElectronApplicationCloseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2355
- _validatorPrimitives.scheme.ElectronApplicationCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2356
2430
  _validatorPrimitives.scheme.AndroidInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2357
2431
  _validatorPrimitives.scheme.AndroidDevicesParams = (0, _validatorPrimitives.tObject)({
2358
2432
  host: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
@@ -2499,6 +2573,13 @@ _validatorPrimitives.scheme.AndroidDeviceLaunchBrowserParams = (0, _validatorPri
2499
2573
  height: _validatorPrimitives.tNumber
2500
2574
  })),
2501
2575
  ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2576
+ clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
2577
+ origin: _validatorPrimitives.tString,
2578
+ cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
2579
+ key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
2580
+ passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2581
+ pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
2582
+ }))),
2502
2583
  javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2503
2584
  bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2504
2585
  userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
@@ -2515,7 +2596,8 @@ _validatorPrimitives.scheme.AndroidDeviceLaunchBrowserParams = (0, _validatorPri
2515
2596
  httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2516
2597
  username: _validatorPrimitives.tString,
2517
2598
  password: _validatorPrimitives.tString,
2518
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2599
+ origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2600
+ send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
2519
2601
  })),
2520
2602
  deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2521
2603
  isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
@@ -2634,7 +2716,7 @@ _validatorPrimitives.scheme.JsonPipeMessageEvent = (0, _validatorPrimitives.tObj
2634
2716
  message: _validatorPrimitives.tAny
2635
2717
  });
2636
2718
  _validatorPrimitives.scheme.JsonPipeClosedEvent = (0, _validatorPrimitives.tObject)({
2637
- error: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('SerializedError'))
2719
+ reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2638
2720
  });
2639
2721
  _validatorPrimitives.scheme.JsonPipeSendParams = (0, _validatorPrimitives.tObject)({
2640
2722
  message: _validatorPrimitives.tAny