pokeedex 0.1.0 → 0.1.5

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 (560) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -5
  3. data/bin/pokeedex +1 -44
  4. data/lib/pokeedex/configuration.rb +0 -6
  5. data/lib/pokeedex/install_playwright.rb +62 -0
  6. data/lib/pokeedex/pokemon/scrapper/fetchers/base.rb +1 -1
  7. data/lib/pokeedex/version.rb +1 -1
  8. data/lib/pokeedex.rb +5 -2
  9. data/spec/pokeedex/configuration_spec.rb +0 -7
  10. data/spec/spec_helper.rb +1 -1
  11. metadata +2 -550
  12. data/node_modules/.bin/playwright +0 -1
  13. data/node_modules/.bin/playwright-core +0 -1
  14. data/node_modules/.yarn-integrity +0 -22
  15. data/node_modules/@playwright/test/LICENSE +0 -202
  16. data/node_modules/@playwright/test/NOTICE +0 -5
  17. data/node_modules/@playwright/test/README.md +0 -169
  18. data/node_modules/@playwright/test/cli.js +0 -19
  19. data/node_modules/@playwright/test/index.d.ts +0 -18
  20. data/node_modules/@playwright/test/index.js +0 -17
  21. data/node_modules/@playwright/test/index.mjs +0 -18
  22. data/node_modules/@playwright/test/node_modules/.bin/playwright +0 -1
  23. data/node_modules/@playwright/test/package.json +0 -35
  24. data/node_modules/@playwright/test/reporter.d.ts +0 -17
  25. data/node_modules/@playwright/test/reporter.js +0 -17
  26. data/node_modules/@playwright/test/reporter.mjs +0 -17
  27. data/node_modules/@types/node/LICENSE +0 -21
  28. data/node_modules/@types/node/README.md +0 -15
  29. data/node_modules/@types/node/assert/strict.d.ts +0 -8
  30. data/node_modules/@types/node/assert.d.ts +0 -1040
  31. data/node_modules/@types/node/async_hooks.d.ts +0 -541
  32. data/node_modules/@types/node/buffer.d.ts +0 -2300
  33. data/node_modules/@types/node/child_process.d.ts +0 -1544
  34. data/node_modules/@types/node/cluster.d.ts +0 -578
  35. data/node_modules/@types/node/console.d.ts +0 -452
  36. data/node_modules/@types/node/constants.d.ts +0 -19
  37. data/node_modules/@types/node/crypto.d.ts +0 -4451
  38. data/node_modules/@types/node/dgram.d.ts +0 -596
  39. data/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  40. data/node_modules/@types/node/dns/promises.d.ts +0 -476
  41. data/node_modules/@types/node/dns.d.ts +0 -865
  42. data/node_modules/@types/node/dom-events.d.ts +0 -124
  43. data/node_modules/@types/node/domain.d.ts +0 -170
  44. data/node_modules/@types/node/events.d.ts +0 -931
  45. data/node_modules/@types/node/fs/promises.d.ts +0 -1264
  46. data/node_modules/@types/node/fs.d.ts +0 -4390
  47. data/node_modules/@types/node/globals.d.ts +0 -611
  48. data/node_modules/@types/node/globals.global.d.ts +0 -1
  49. data/node_modules/@types/node/http.d.ts +0 -1921
  50. data/node_modules/@types/node/http2.d.ts +0 -2555
  51. data/node_modules/@types/node/https.d.ts +0 -544
  52. data/node_modules/@types/node/index.d.ts +0 -90
  53. data/node_modules/@types/node/inspector.d.ts +0 -3966
  54. data/node_modules/@types/node/module.d.ts +0 -301
  55. data/node_modules/@types/node/net.d.ts +0 -995
  56. data/node_modules/@types/node/os.d.ts +0 -495
  57. data/node_modules/@types/node/package.json +0 -217
  58. data/node_modules/@types/node/path.d.ts +0 -200
  59. data/node_modules/@types/node/perf_hooks.d.ts +0 -941
  60. data/node_modules/@types/node/process.d.ts +0 -1912
  61. data/node_modules/@types/node/punycode.d.ts +0 -117
  62. data/node_modules/@types/node/querystring.d.ts +0 -153
  63. data/node_modules/@types/node/readline/promises.d.ts +0 -150
  64. data/node_modules/@types/node/readline.d.ts +0 -540
  65. data/node_modules/@types/node/repl.d.ts +0 -430
  66. data/node_modules/@types/node/sea.d.ts +0 -153
  67. data/node_modules/@types/node/sqlite.d.ts +0 -213
  68. data/node_modules/@types/node/stream/consumers.d.ts +0 -12
  69. data/node_modules/@types/node/stream/promises.d.ts +0 -83
  70. data/node_modules/@types/node/stream/web.d.ts +0 -606
  71. data/node_modules/@types/node/stream.d.ts +0 -1726
  72. data/node_modules/@types/node/string_decoder.d.ts +0 -67
  73. data/node_modules/@types/node/test.d.ts +0 -2098
  74. data/node_modules/@types/node/timers/promises.d.ts +0 -97
  75. data/node_modules/@types/node/timers.d.ts +0 -240
  76. data/node_modules/@types/node/tls.d.ts +0 -1220
  77. data/node_modules/@types/node/trace_events.d.ts +0 -197
  78. data/node_modules/@types/node/tty.d.ts +0 -208
  79. data/node_modules/@types/node/url.d.ts +0 -969
  80. data/node_modules/@types/node/util.d.ts +0 -2301
  81. data/node_modules/@types/node/v8.d.ts +0 -808
  82. data/node_modules/@types/node/vm.d.ts +0 -922
  83. data/node_modules/@types/node/wasi.d.ts +0 -181
  84. data/node_modules/@types/node/worker_threads.d.ts +0 -712
  85. data/node_modules/@types/node/zlib.d.ts +0 -539
  86. data/node_modules/fsevents/LICENSE +0 -22
  87. data/node_modules/fsevents/README.md +0 -83
  88. data/node_modules/fsevents/fsevents.d.ts +0 -46
  89. data/node_modules/fsevents/fsevents.js +0 -82
  90. data/node_modules/fsevents/fsevents.node +0 -0
  91. data/node_modules/fsevents/package.json +0 -62
  92. data/node_modules/playwright/.eslintrc.js +0 -6
  93. data/node_modules/playwright/LICENSE +0 -202
  94. data/node_modules/playwright/NOTICE +0 -5
  95. data/node_modules/playwright/README.md +0 -169
  96. data/node_modules/playwright/ThirdPartyNotices.txt +0 -4356
  97. data/node_modules/playwright/cli.js +0 -19
  98. data/node_modules/playwright/index.d.ts +0 -17
  99. data/node_modules/playwright/index.js +0 -17
  100. data/node_modules/playwright/index.mjs +0 -18
  101. data/node_modules/playwright/jsx-runtime.js +0 -41
  102. data/node_modules/playwright/jsx-runtime.mjs +0 -21
  103. data/node_modules/playwright/lib/common/config.js +0 -256
  104. data/node_modules/playwright/lib/common/configLoader.js +0 -321
  105. data/node_modules/playwright/lib/common/esmLoaderHost.js +0 -93
  106. data/node_modules/playwright/lib/common/expectBundle.js +0 -27
  107. data/node_modules/playwright/lib/common/expectBundleImpl.js +0 -389
  108. data/node_modules/playwright/lib/common/fixtures.js +0 -323
  109. data/node_modules/playwright/lib/common/globals.js +0 -48
  110. data/node_modules/playwright/lib/common/ipc.js +0 -48
  111. data/node_modules/playwright/lib/common/poolBuilder.js +0 -79
  112. data/node_modules/playwright/lib/common/process.js +0 -140
  113. data/node_modules/playwright/lib/common/suiteUtils.js +0 -133
  114. data/node_modules/playwright/lib/common/test.js +0 -311
  115. data/node_modules/playwright/lib/common/testLoader.js +0 -102
  116. data/node_modules/playwright/lib/common/testType.js +0 -284
  117. data/node_modules/playwright/lib/fsWatcher.js +0 -69
  118. data/node_modules/playwright/lib/index.js +0 -888
  119. data/node_modules/playwright/lib/internalsForTest.js +0 -28
  120. data/node_modules/playwright/lib/isomorphic/events.js +0 -72
  121. data/node_modules/playwright/lib/isomorphic/folders.js +0 -25
  122. data/node_modules/playwright/lib/isomorphic/stringInternPool.js +0 -58
  123. data/node_modules/playwright/lib/isomorphic/teleReceiver.js +0 -504
  124. data/node_modules/playwright/lib/isomorphic/teleSuiteUpdater.js +0 -149
  125. data/node_modules/playwright/lib/isomorphic/testServerConnection.js +0 -210
  126. data/node_modules/playwright/lib/isomorphic/testServerInterface.js +0 -5
  127. data/node_modules/playwright/lib/isomorphic/testTree.js +0 -272
  128. data/node_modules/playwright/lib/loader/loaderMain.js +0 -58
  129. data/node_modules/playwright/lib/matchers/expect.js +0 -297
  130. data/node_modules/playwright/lib/matchers/matcherHint.js +0 -50
  131. data/node_modules/playwright/lib/matchers/matchers.js +0 -449
  132. data/node_modules/playwright/lib/matchers/toBeTruthy.js +0 -55
  133. data/node_modules/playwright/lib/matchers/toEqual.js +0 -57
  134. data/node_modules/playwright/lib/matchers/toMatchSnapshot.js +0 -383
  135. data/node_modules/playwright/lib/matchers/toMatchText.js +0 -76
  136. data/node_modules/playwright/lib/plugins/gitCommitInfoPlugin.js +0 -78
  137. data/node_modules/playwright/lib/plugins/index.js +0 -19
  138. data/node_modules/playwright/lib/plugins/webServerPlugin.js +0 -187
  139. data/node_modules/playwright/lib/program.js +0 -346
  140. data/node_modules/playwright/lib/reporters/base.js +0 -553
  141. data/node_modules/playwright/lib/reporters/blob.js +0 -133
  142. data/node_modules/playwright/lib/reporters/dot.js +0 -82
  143. data/node_modules/playwright/lib/reporters/empty.js +0 -42
  144. data/node_modules/playwright/lib/reporters/github.js +0 -115
  145. data/node_modules/playwright/lib/reporters/html.js +0 -623
  146. data/node_modules/playwright/lib/reporters/internalReporter.js +0 -123
  147. data/node_modules/playwright/lib/reporters/json.js +0 -243
  148. data/node_modules/playwright/lib/reporters/junit.js +0 -233
  149. data/node_modules/playwright/lib/reporters/line.js +0 -108
  150. data/node_modules/playwright/lib/reporters/list.js +0 -222
  151. data/node_modules/playwright/lib/reporters/markdown.js +0 -76
  152. data/node_modules/playwright/lib/reporters/merge.js +0 -477
  153. data/node_modules/playwright/lib/reporters/multiplexer.js +0 -90
  154. data/node_modules/playwright/lib/reporters/reporterV2.js +0 -118
  155. data/node_modules/playwright/lib/reporters/teleEmitter.js +0 -268
  156. data/node_modules/playwright/lib/reporters/versions/blobV1.js +0 -5
  157. data/node_modules/playwright/lib/runner/dispatcher.js +0 -532
  158. data/node_modules/playwright/lib/runner/failureTracker.js +0 -60
  159. data/node_modules/playwright/lib/runner/loadUtils.js +0 -308
  160. data/node_modules/playwright/lib/runner/loaderHost.js +0 -85
  161. data/node_modules/playwright/lib/runner/processHost.js +0 -175
  162. data/node_modules/playwright/lib/runner/projectUtils.js +0 -203
  163. data/node_modules/playwright/lib/runner/reporters.js +0 -151
  164. data/node_modules/playwright/lib/runner/runner.js +0 -179
  165. data/node_modules/playwright/lib/runner/sigIntWatcher.js +0 -100
  166. data/node_modules/playwright/lib/runner/taskRunner.js +0 -147
  167. data/node_modules/playwright/lib/runner/tasks.js +0 -407
  168. data/node_modules/playwright/lib/runner/testGroups.js +0 -136
  169. data/node_modules/playwright/lib/runner/testServer.js +0 -605
  170. data/node_modules/playwright/lib/runner/uiModeReporter.js +0 -31
  171. data/node_modules/playwright/lib/runner/vcs.js +0 -55
  172. data/node_modules/playwright/lib/runner/watchMode.js +0 -398
  173. data/node_modules/playwright/lib/runner/workerHost.js +0 -85
  174. data/node_modules/playwright/lib/third_party/tsconfig-loader.js +0 -134
  175. data/node_modules/playwright/lib/transform/babelBundle.js +0 -28
  176. data/node_modules/playwright/lib/transform/babelBundleImpl.js +0 -2032
  177. data/node_modules/playwright/lib/transform/compilationCache.js +0 -254
  178. data/node_modules/playwright/lib/transform/esmLoader.js +0 -117
  179. data/node_modules/playwright/lib/transform/esmUtils.js +0 -32
  180. data/node_modules/playwright/lib/transform/portTransport.js +0 -81
  181. data/node_modules/playwright/lib/transform/transform.js +0 -267
  182. data/node_modules/playwright/lib/util.js +0 -356
  183. data/node_modules/playwright/lib/utilsBundle.js +0 -28
  184. data/node_modules/playwright/lib/utilsBundleImpl.js +0 -102
  185. data/node_modules/playwright/lib/worker/fixtureRunner.js +0 -279
  186. data/node_modules/playwright/lib/worker/testInfo.js +0 -397
  187. data/node_modules/playwright/lib/worker/testTracing.js +0 -314
  188. data/node_modules/playwright/lib/worker/timeoutManager.js +0 -153
  189. data/node_modules/playwright/lib/worker/workerMain.js +0 -637
  190. data/node_modules/playwright/node_modules/.bin/playwright-core +0 -1
  191. data/node_modules/playwright/package.json +0 -66
  192. data/node_modules/playwright/test.d.ts +0 -18
  193. data/node_modules/playwright/test.js +0 -24
  194. data/node_modules/playwright/test.mjs +0 -33
  195. data/node_modules/playwright/types/test.d.ts +0 -8444
  196. data/node_modules/playwright/types/testReporter.d.ts +0 -749
  197. data/node_modules/playwright-core/LICENSE +0 -202
  198. data/node_modules/playwright-core/NOTICE +0 -5
  199. data/node_modules/playwright-core/README.md +0 -3
  200. data/node_modules/playwright-core/ThirdPartyNotices.txt +0 -1548
  201. data/node_modules/playwright-core/bin/PrintDeps.exe +0 -0
  202. data/node_modules/playwright-core/bin/README.md +0 -2
  203. data/node_modules/playwright-core/bin/install_media_pack.ps1 +0 -5
  204. data/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -40
  205. data/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -13
  206. data/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +0 -24
  207. data/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -40
  208. data/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -12
  209. data/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +0 -24
  210. data/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -40
  211. data/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -11
  212. data/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +0 -23
  213. data/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -40
  214. data/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -11
  215. data/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +0 -23
  216. data/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -40
  217. data/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -11
  218. data/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +0 -24
  219. data/node_modules/playwright-core/browsers.json +0 -53
  220. data/node_modules/playwright-core/cli.js +0 -18
  221. data/node_modules/playwright-core/index.d.ts +0 -17
  222. data/node_modules/playwright-core/index.js +0 -33
  223. data/node_modules/playwright-core/index.mjs +0 -28
  224. data/node_modules/playwright-core/lib/androidServerImpl.js +0 -69
  225. data/node_modules/playwright-core/lib/browserServerImpl.js +0 -92
  226. data/node_modules/playwright-core/lib/cli/driver.js +0 -95
  227. data/node_modules/playwright-core/lib/cli/program.js +0 -577
  228. data/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -67
  229. data/node_modules/playwright-core/lib/client/accessibility.js +0 -50
  230. data/node_modules/playwright-core/lib/client/android.js +0 -473
  231. data/node_modules/playwright-core/lib/client/api.js +0 -279
  232. data/node_modules/playwright-core/lib/client/artifact.js +0 -79
  233. data/node_modules/playwright-core/lib/client/browser.js +0 -145
  234. data/node_modules/playwright-core/lib/client/browserContext.js +0 -541
  235. data/node_modules/playwright-core/lib/client/browserType.js +0 -241
  236. data/node_modules/playwright-core/lib/client/cdpSession.js +0 -53
  237. data/node_modules/playwright-core/lib/client/channelOwner.js +0 -231
  238. data/node_modules/playwright-core/lib/client/clientHelper.js +0 -57
  239. data/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -50
  240. data/node_modules/playwright-core/lib/client/clock.js +0 -68
  241. data/node_modules/playwright-core/lib/client/connection.js +0 -330
  242. data/node_modules/playwright-core/lib/client/consoleMessage.js +0 -55
  243. data/node_modules/playwright-core/lib/client/coverage.js +0 -41
  244. data/node_modules/playwright-core/lib/client/dialog.js +0 -57
  245. data/node_modules/playwright-core/lib/client/download.js +0 -62
  246. data/node_modules/playwright-core/lib/client/electron.js +0 -135
  247. data/node_modules/playwright-core/lib/client/elementHandle.js +0 -321
  248. data/node_modules/playwright-core/lib/client/errors.js +0 -77
  249. data/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
  250. data/node_modules/playwright-core/lib/client/events.js +0 -94
  251. data/node_modules/playwright-core/lib/client/fetch.js +0 -396
  252. data/node_modules/playwright-core/lib/client/fileChooser.js +0 -45
  253. data/node_modules/playwright-core/lib/client/frame.js +0 -504
  254. data/node_modules/playwright-core/lib/client/harRouter.js +0 -99
  255. data/node_modules/playwright-core/lib/client/input.js +0 -111
  256. data/node_modules/playwright-core/lib/client/jsHandle.js +0 -129
  257. data/node_modules/playwright-core/lib/client/jsonPipe.js +0 -35
  258. data/node_modules/playwright-core/lib/client/localUtils.js +0 -35
  259. data/node_modules/playwright-core/lib/client/locator.js +0 -441
  260. data/node_modules/playwright-core/lib/client/network.js +0 -604
  261. data/node_modules/playwright-core/lib/client/page.js +0 -725
  262. data/node_modules/playwright-core/lib/client/playwright.js +0 -77
  263. data/node_modules/playwright-core/lib/client/selectors.js +0 -67
  264. data/node_modules/playwright-core/lib/client/stream.js +0 -54
  265. data/node_modules/playwright-core/lib/client/tracing.js +0 -138
  266. data/node_modules/playwright-core/lib/client/types.js +0 -24
  267. data/node_modules/playwright-core/lib/client/video.js +0 -51
  268. data/node_modules/playwright-core/lib/client/waiter.js +0 -158
  269. data/node_modules/playwright-core/lib/client/webError.js +0 -37
  270. data/node_modules/playwright-core/lib/client/worker.js +0 -71
  271. data/node_modules/playwright-core/lib/client/writableStream.js +0 -54
  272. data/node_modules/playwright-core/lib/common/socksProxy.js +0 -569
  273. data/node_modules/playwright-core/lib/common/timeoutSettings.js +0 -73
  274. data/node_modules/playwright-core/lib/common/types.js +0 -5
  275. data/node_modules/playwright-core/lib/generated/clockSource.js +0 -7
  276. data/node_modules/playwright-core/lib/generated/consoleApiSource.js +0 -7
  277. data/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -7
  278. data/node_modules/playwright-core/lib/generated/recorderSource.js +0 -7
  279. data/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -7
  280. data/node_modules/playwright-core/lib/image_tools/colorUtils.js +0 -98
  281. data/node_modules/playwright-core/lib/image_tools/compare.js +0 -108
  282. data/node_modules/playwright-core/lib/image_tools/imageChannel.js +0 -70
  283. data/node_modules/playwright-core/lib/image_tools/stats.js +0 -102
  284. data/node_modules/playwright-core/lib/inProcessFactory.js +0 -54
  285. data/node_modules/playwright-core/lib/inprocess.js +0 -20
  286. data/node_modules/playwright-core/lib/outofprocess.js +0 -67
  287. data/node_modules/playwright-core/lib/protocol/debug.js +0 -27
  288. data/node_modules/playwright-core/lib/protocol/serializers.js +0 -173
  289. data/node_modules/playwright-core/lib/protocol/transport.js +0 -82
  290. data/node_modules/playwright-core/lib/protocol/validator.js +0 -2694
  291. data/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -139
  292. data/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -274
  293. data/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -110
  294. data/node_modules/playwright-core/lib/server/accessibility.js +0 -62
  295. data/node_modules/playwright-core/lib/server/android/android.js +0 -441
  296. data/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -172
  297. data/node_modules/playwright-core/lib/server/artifact.js +0 -104
  298. data/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -296
  299. data/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -206
  300. data/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -162
  301. data/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -110
  302. data/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -174
  303. data/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -304
  304. data/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -456
  305. data/node_modules/playwright-core/lib/server/bidi/third_party/bidiDeserializer.js +0 -93
  306. data/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -238
  307. data/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -139
  308. data/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -144
  309. data/node_modules/playwright-core/lib/server/browser.js +0 -137
  310. data/node_modules/playwright-core/lib/server/browserContext.js +0 -684
  311. data/node_modules/playwright-core/lib/server/browserType.js +0 -307
  312. data/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  313. data/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -362
  314. data/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -44
  315. data/node_modules/playwright-core/lib/server/chromium/crAccessibility.js +0 -237
  316. data/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -515
  317. data/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -228
  318. data/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -246
  319. data/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -104
  320. data/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -143
  321. data/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -156
  322. data/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -171
  323. data/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -767
  324. data/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1128
  325. data/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -153
  326. data/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -133
  327. data/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -112
  328. data/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -145
  329. data/node_modules/playwright-core/lib/server/chromium/videoRecorder.js +0 -155
  330. data/node_modules/playwright-core/lib/server/clock.js +0 -125
  331. data/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -299
  332. data/node_modules/playwright-core/lib/server/codegen/java.js +0 -235
  333. data/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -223
  334. data/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -47
  335. data/node_modules/playwright-core/lib/server/codegen/language.js +0 -76
  336. data/node_modules/playwright-core/lib/server/codegen/languages.js +0 -30
  337. data/node_modules/playwright-core/lib/server/codegen/python.js +0 -265
  338. data/node_modules/playwright-core/lib/server/codegen/types.js +0 -5
  339. data/node_modules/playwright-core/lib/server/console.js +0 -57
  340. data/node_modules/playwright-core/lib/server/cookieStore.js +0 -112
  341. data/node_modules/playwright-core/lib/server/debugController.js +0 -234
  342. data/node_modules/playwright-core/lib/server/debugger.js +0 -132
  343. data/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -26
  344. data/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -1669
  345. data/node_modules/playwright-core/lib/server/dialog.js +0 -70
  346. data/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -193
  347. data/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
  348. data/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -351
  349. data/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -170
  350. data/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -55
  351. data/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -48
  352. data/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -103
  353. data/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -44
  354. data/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -395
  355. data/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -93
  356. data/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -228
  357. data/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -286
  358. data/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -102
  359. data/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -59
  360. data/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -413
  361. data/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -221
  362. data/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -358
  363. data/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -106
  364. data/node_modules/playwright-core/lib/server/dispatchers/selectorsDispatcher.js +0 -36
  365. data/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -62
  366. data/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -54
  367. data/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -58
  368. data/node_modules/playwright-core/lib/server/dom.js +0 -845
  369. data/node_modules/playwright-core/lib/server/download.js +0 -53
  370. data/node_modules/playwright-core/lib/server/electron/electron.js +0 -296
  371. data/node_modules/playwright-core/lib/server/electron/loader.js +0 -57
  372. data/node_modules/playwright-core/lib/server/errors.js +0 -68
  373. data/node_modules/playwright-core/lib/server/fetch.js +0 -660
  374. data/node_modules/playwright-core/lib/server/fileChooser.js +0 -42
  375. data/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -75
  376. data/node_modules/playwright-core/lib/server/firefox/ffAccessibility.js +0 -216
  377. data/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -458
  378. data/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -168
  379. data/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -138
  380. data/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -150
  381. data/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -233
  382. data/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -556
  383. data/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -110
  384. data/node_modules/playwright-core/lib/server/formData.js +0 -75
  385. data/node_modules/playwright-core/lib/server/frameSelectors.js +0 -171
  386. data/node_modules/playwright-core/lib/server/frames.js +0 -1654
  387. data/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -139
  388. data/node_modules/playwright-core/lib/server/har/harTracer.js +0 -531
  389. data/node_modules/playwright-core/lib/server/helper.js +0 -103
  390. data/node_modules/playwright-core/lib/server/index.js +0 -114
  391. data/node_modules/playwright-core/lib/server/input.js +0 -311
  392. data/node_modules/playwright-core/lib/server/instrumentation.js +0 -70
  393. data/node_modules/playwright-core/lib/server/isomorphic/utilityScriptSerializers.js +0 -226
  394. data/node_modules/playwright-core/lib/server/javascript.js +0 -306
  395. data/node_modules/playwright-core/lib/server/launchApp.js +0 -91
  396. data/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -139
  397. data/node_modules/playwright-core/lib/server/network.js +0 -617
  398. data/node_modules/playwright-core/lib/server/page.js +0 -825
  399. data/node_modules/playwright-core/lib/server/pipeTransport.js +0 -85
  400. data/node_modules/playwright-core/lib/server/playwright.js +0 -85
  401. data/node_modules/playwright-core/lib/server/progress.js +0 -102
  402. data/node_modules/playwright-core/lib/server/protocolError.js +0 -49
  403. data/node_modules/playwright-core/lib/server/recorder/contextRecorder.js +0 -316
  404. data/node_modules/playwright-core/lib/server/recorder/recorderActions.js +0 -5
  405. data/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -190
  406. data/node_modules/playwright-core/lib/server/recorder/recorderCollection.js +0 -127
  407. data/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -177
  408. data/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -71
  409. data/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -46
  410. data/node_modules/playwright-core/lib/server/recorder.js +0 -324
  411. data/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -168
  412. data/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -322
  413. data/node_modules/playwright-core/lib/server/registry/index.js +0 -924
  414. data/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -490
  415. data/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -138
  416. data/node_modules/playwright-core/lib/server/screenshotter.js +0 -348
  417. data/node_modules/playwright-core/lib/server/selectors.js +0 -73
  418. data/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -328
  419. data/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -100
  420. data/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -171
  421. data/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -493
  422. data/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -486
  423. data/node_modules/playwright-core/lib/server/trace/test/inMemorySnapshotter.js +0 -93
  424. data/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -216
  425. data/node_modules/playwright-core/lib/server/transport.js +0 -191
  426. data/node_modules/playwright-core/lib/server/types.js +0 -24
  427. data/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -555
  428. data/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -87
  429. data/node_modules/playwright-core/lib/server/webkit/wkAccessibility.js +0 -194
  430. data/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -328
  431. data/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -173
  432. data/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -146
  433. data/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -169
  434. data/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -162
  435. data/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1216
  436. data/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -94
  437. data/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -104
  438. data/node_modules/playwright-core/lib/third_party/diff_match_patch.js +0 -2222
  439. data/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
  440. data/node_modules/playwright-core/lib/utils/ascii.js +0 -31
  441. data/node_modules/playwright-core/lib/utils/comparators.js +0 -171
  442. data/node_modules/playwright-core/lib/utils/crypto.js +0 -174
  443. data/node_modules/playwright-core/lib/utils/debug.js +0 -46
  444. data/node_modules/playwright-core/lib/utils/debugLogger.js +0 -91
  445. data/node_modules/playwright-core/lib/utils/env.js +0 -49
  446. data/node_modules/playwright-core/lib/utils/eventsHelper.js +0 -38
  447. data/node_modules/playwright-core/lib/utils/expectUtils.js +0 -33
  448. data/node_modules/playwright-core/lib/utils/fileUtils.js +0 -205
  449. data/node_modules/playwright-core/lib/utils/happy-eyeballs.js +0 -181
  450. data/node_modules/playwright-core/lib/utils/headers.js +0 -52
  451. data/node_modules/playwright-core/lib/utils/hostPlatform.js +0 -133
  452. data/node_modules/playwright-core/lib/utils/httpServer.js +0 -236
  453. data/node_modules/playwright-core/lib/utils/index.js +0 -368
  454. data/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -250
  455. data/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -979
  456. data/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -651
  457. data/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -179
  458. data/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -62
  459. data/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -29
  460. data/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -397
  461. data/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -139
  462. data/node_modules/playwright-core/lib/utils/isomorphic/traceUtils.js +0 -39
  463. data/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -120
  464. data/node_modules/playwright-core/lib/utils/linuxUtils.js +0 -78
  465. data/node_modules/playwright-core/lib/utils/manualPromise.js +0 -109
  466. data/node_modules/playwright-core/lib/utils/multimap.js +0 -75
  467. data/node_modules/playwright-core/lib/utils/network.js +0 -160
  468. data/node_modules/playwright-core/lib/utils/processLauncher.js +0 -248
  469. data/node_modules/playwright-core/lib/utils/profiler.js +0 -53
  470. data/node_modules/playwright-core/lib/utils/rtti.js +0 -44
  471. data/node_modules/playwright-core/lib/utils/semaphore.js +0 -51
  472. data/node_modules/playwright-core/lib/utils/spawnAsync.js +0 -45
  473. data/node_modules/playwright-core/lib/utils/stackTrace.js +0 -121
  474. data/node_modules/playwright-core/lib/utils/task.js +0 -58
  475. data/node_modules/playwright-core/lib/utils/time.js +0 -37
  476. data/node_modules/playwright-core/lib/utils/timeoutRunner.js +0 -66
  477. data/node_modules/playwright-core/lib/utils/traceUtils.js +0 -44
  478. data/node_modules/playwright-core/lib/utils/userAgent.js +0 -105
  479. data/node_modules/playwright-core/lib/utils/wsServer.js +0 -127
  480. data/node_modules/playwright-core/lib/utils/zipFile.js +0 -75
  481. data/node_modules/playwright-core/lib/utils/zones.js +0 -62
  482. data/node_modules/playwright-core/lib/utilsBundle.js +0 -82
  483. data/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -53
  484. data/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open +0 -1066
  485. data/node_modules/playwright-core/lib/vite/htmlReport/index.html +0 -66
  486. data/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-aW6Vz3gf.js +0 -24
  487. data/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-ez37Vkbh.css +0 -1
  488. data/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  489. data/node_modules/playwright-core/lib/vite/recorder/assets/index-B-MT5gKo.css +0 -1
  490. data/node_modules/playwright-core/lib/vite/recorder/assets/index-DCpXOVIh.js +0 -47
  491. data/node_modules/playwright-core/lib/vite/recorder/index.html +0 -29
  492. data/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +0 -9
  493. data/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-eFKCUIu2.js +0 -24
  494. data/node_modules/playwright-core/lib/vite/traceViewer/assets/testServerConnection-DeE2kSzz.js +0 -1
  495. data/node_modules/playwright-core/lib/vite/traceViewer/assets/workbench-D0cirtfA.js +0 -72
  496. data/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-BeNbaIVa.js +0 -9
  497. data/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.ez37Vkbh.css +0 -1
  498. data/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  499. data/node_modules/playwright-core/lib/vite/traceViewer/embedded.BkuvsLJp.js +0 -2
  500. data/node_modules/playwright-core/lib/vite/traceViewer/embedded.html +0 -16
  501. data/node_modules/playwright-core/lib/vite/traceViewer/embedded.w7WN2u1R.css +0 -1
  502. data/node_modules/playwright-core/lib/vite/traceViewer/index.C968kAiC.js +0 -2
  503. data/node_modules/playwright-core/lib/vite/traceViewer/index.CrbWWHbf.css +0 -1
  504. data/node_modules/playwright-core/lib/vite/traceViewer/index.html +0 -27
  505. data/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +0 -9
  506. data/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +0 -21
  507. data/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +0 -3
  508. data/node_modules/playwright-core/lib/vite/traceViewer/uiMode.BkFnr4V0.js +0 -10
  509. data/node_modules/playwright-core/lib/vite/traceViewer/uiMode.D3cNFP6u.css +0 -1
  510. data/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +0 -18
  511. data/node_modules/playwright-core/lib/vite/traceViewer/workbench.DjbIuxix.css +0 -1
  512. data/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DSXBckUd.css +0 -32
  513. data/node_modules/playwright-core/lib/zipBundle.js +0 -25
  514. data/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
  515. data/node_modules/playwright-core/package.json +0 -44
  516. data/node_modules/playwright-core/types/protocol.d.ts +0 -21500
  517. data/node_modules/playwright-core/types/structs.d.ts +0 -45
  518. data/node_modules/playwright-core/types/types.d.ts +0 -21431
  519. data/node_modules/undici-types/LICENSE +0 -21
  520. data/node_modules/undici-types/README.md +0 -6
  521. data/node_modules/undici-types/agent.d.ts +0 -31
  522. data/node_modules/undici-types/api.d.ts +0 -43
  523. data/node_modules/undici-types/balanced-pool.d.ts +0 -29
  524. data/node_modules/undici-types/cache.d.ts +0 -36
  525. data/node_modules/undici-types/client.d.ts +0 -108
  526. data/node_modules/undici-types/connector.d.ts +0 -34
  527. data/node_modules/undici-types/content-type.d.ts +0 -21
  528. data/node_modules/undici-types/cookies.d.ts +0 -28
  529. data/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  530. data/node_modules/undici-types/dispatcher.d.ts +0 -255
  531. data/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  532. data/node_modules/undici-types/errors.d.ts +0 -149
  533. data/node_modules/undici-types/eventsource.d.ts +0 -63
  534. data/node_modules/undici-types/fetch.d.ts +0 -209
  535. data/node_modules/undici-types/file.d.ts +0 -39
  536. data/node_modules/undici-types/filereader.d.ts +0 -54
  537. data/node_modules/undici-types/formdata.d.ts +0 -108
  538. data/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  539. data/node_modules/undici-types/global-origin.d.ts +0 -7
  540. data/node_modules/undici-types/handlers.d.ts +0 -15
  541. data/node_modules/undici-types/header.d.ts +0 -4
  542. data/node_modules/undici-types/index.d.ts +0 -71
  543. data/node_modules/undici-types/interceptors.d.ts +0 -15
  544. data/node_modules/undici-types/mock-agent.d.ts +0 -50
  545. data/node_modules/undici-types/mock-client.d.ts +0 -25
  546. data/node_modules/undici-types/mock-errors.d.ts +0 -12
  547. data/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  548. data/node_modules/undici-types/mock-pool.d.ts +0 -25
  549. data/node_modules/undici-types/package.json +0 -55
  550. data/node_modules/undici-types/patch.d.ts +0 -71
  551. data/node_modules/undici-types/pool-stats.d.ts +0 -19
  552. data/node_modules/undici-types/pool.d.ts +0 -39
  553. data/node_modules/undici-types/proxy-agent.d.ts +0 -28
  554. data/node_modules/undici-types/readable.d.ts +0 -60
  555. data/node_modules/undici-types/retry-agent.d.ts +0 -8
  556. data/node_modules/undici-types/retry-handler.d.ts +0 -116
  557. data/node_modules/undici-types/util.d.ts +0 -18
  558. data/node_modules/undici-types/webidl.d.ts +0 -222
  559. data/node_modules/undici-types/websocket.d.ts +0 -152
  560. data/yarn.lock +0 -41
@@ -1,2694 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "ValidationError", {
7
- enumerable: true,
8
- get: function () {
9
- return _validatorPrimitives.ValidationError;
10
- }
11
- });
12
- Object.defineProperty(exports, "createMetadataValidator", {
13
- enumerable: true,
14
- get: function () {
15
- return _validatorPrimitives.createMetadataValidator;
16
- }
17
- });
18
- Object.defineProperty(exports, "findValidator", {
19
- enumerable: true,
20
- get: function () {
21
- return _validatorPrimitives.findValidator;
22
- }
23
- });
24
- Object.defineProperty(exports, "maybeFindValidator", {
25
- enumerable: true,
26
- get: function () {
27
- return _validatorPrimitives.maybeFindValidator;
28
- }
29
- });
30
- var _validatorPrimitives = require("./validatorPrimitives");
31
- /**
32
- * Copyright (c) Microsoft Corporation.
33
- *
34
- * Licensed under the Apache License, Version 2.0 (the "License");
35
- * you may not use this file except in compliance with the License.
36
- * You may obtain a copy of the License at
37
- *
38
- * http://www.apache.org/licenses/LICENSE-2.0
39
- *
40
- * Unless required by applicable law or agreed to in writing, software
41
- * distributed under the License is distributed on an "AS IS" BASIS,
42
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43
- * See the License for the specific language governing permissions and
44
- * limitations under the License.
45
- */
46
-
47
- // This file is generated by generate_channels.js, do not edit manually.
48
-
49
- _validatorPrimitives.scheme.StackFrame = (0, _validatorPrimitives.tObject)({
50
- file: _validatorPrimitives.tString,
51
- line: _validatorPrimitives.tNumber,
52
- column: _validatorPrimitives.tNumber,
53
- function: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
54
- });
55
- _validatorPrimitives.scheme.Metadata = (0, _validatorPrimitives.tObject)({
56
- location: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
57
- file: _validatorPrimitives.tString,
58
- line: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
59
- column: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
60
- })),
61
- apiName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
62
- internal: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
63
- stepId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
64
- });
65
- _validatorPrimitives.scheme.ClientSideCallMetadata = (0, _validatorPrimitives.tObject)({
66
- id: _validatorPrimitives.tNumber,
67
- stack: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('StackFrame')))
68
- });
69
- _validatorPrimitives.scheme.Point = (0, _validatorPrimitives.tObject)({
70
- x: _validatorPrimitives.tNumber,
71
- y: _validatorPrimitives.tNumber
72
- });
73
- _validatorPrimitives.scheme.Rect = (0, _validatorPrimitives.tObject)({
74
- x: _validatorPrimitives.tNumber,
75
- y: _validatorPrimitives.tNumber,
76
- width: _validatorPrimitives.tNumber,
77
- height: _validatorPrimitives.tNumber
78
- });
79
- _validatorPrimitives.scheme.SerializedValue = (0, _validatorPrimitives.tObject)({
80
- n: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
81
- b: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
82
- s: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
83
- v: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['null', 'undefined', 'NaN', 'Infinity', '-Infinity', '-0'])),
84
- d: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
85
- u: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
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
- })),
92
- r: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
93
- p: _validatorPrimitives.tString,
94
- f: _validatorPrimitives.tString
95
- })),
96
- a: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('SerializedValue'))),
97
- o: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
98
- k: _validatorPrimitives.tString,
99
- v: (0, _validatorPrimitives.tType)('SerializedValue')
100
- }))),
101
- h: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
102
- id: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
103
- ref: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
104
- });
105
- _validatorPrimitives.scheme.SerializedArgument = (0, _validatorPrimitives.tObject)({
106
- value: (0, _validatorPrimitives.tType)('SerializedValue'),
107
- handles: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)('*'))
108
- });
109
- _validatorPrimitives.scheme.ExpectedTextValue = (0, _validatorPrimitives.tObject)({
110
- string: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
111
- regexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
112
- regexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
113
- matchSubstring: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
114
- ignoreCase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
115
- normalizeWhiteSpace: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
116
- });
117
- _validatorPrimitives.scheme.AXNode = (0, _validatorPrimitives.tObject)({
118
- role: _validatorPrimitives.tString,
119
- name: _validatorPrimitives.tString,
120
- valueString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
121
- valueNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
122
- description: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
123
- keyshortcuts: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
124
- roledescription: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
125
- valuetext: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
126
- disabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
127
- expanded: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
128
- focused: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
129
- modal: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
130
- multiline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
131
- multiselectable: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
132
- readonly: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
133
- required: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
134
- selected: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
135
- checked: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['checked', 'unchecked', 'mixed'])),
136
- pressed: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['pressed', 'released', 'mixed'])),
137
- level: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
138
- valuemin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
139
- valuemax: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
140
- autocomplete: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
141
- haspopup: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
142
- invalid: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
143
- orientation: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
144
- children: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('AXNode')))
145
- });
146
- _validatorPrimitives.scheme.SetNetworkCookie = (0, _validatorPrimitives.tObject)({
147
- name: _validatorPrimitives.tString,
148
- value: _validatorPrimitives.tString,
149
- url: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
150
- domain: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
151
- path: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
152
- expires: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
153
- httpOnly: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
154
- secure: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
155
- sameSite: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['Strict', 'Lax', 'None']))
156
- });
157
- _validatorPrimitives.scheme.NetworkCookie = (0, _validatorPrimitives.tObject)({
158
- name: _validatorPrimitives.tString,
159
- value: _validatorPrimitives.tString,
160
- domain: _validatorPrimitives.tString,
161
- path: _validatorPrimitives.tString,
162
- expires: _validatorPrimitives.tNumber,
163
- httpOnly: _validatorPrimitives.tBoolean,
164
- secure: _validatorPrimitives.tBoolean,
165
- sameSite: (0, _validatorPrimitives.tEnum)(['Strict', 'Lax', 'None'])
166
- });
167
- _validatorPrimitives.scheme.NameValue = (0, _validatorPrimitives.tObject)({
168
- name: _validatorPrimitives.tString,
169
- value: _validatorPrimitives.tString
170
- });
171
- _validatorPrimitives.scheme.OriginStorage = (0, _validatorPrimitives.tObject)({
172
- origin: _validatorPrimitives.tString,
173
- localStorage: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
174
- });
175
- _validatorPrimitives.scheme.SerializedError = (0, _validatorPrimitives.tObject)({
176
- error: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
177
- message: _validatorPrimitives.tString,
178
- name: _validatorPrimitives.tString,
179
- stack: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
180
- })),
181
- value: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('SerializedValue'))
182
- });
183
- _validatorPrimitives.scheme.RecordHarOptions = (0, _validatorPrimitives.tObject)({
184
- path: _validatorPrimitives.tString,
185
- content: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['embed', 'attach', 'omit'])),
186
- mode: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['full', 'minimal'])),
187
- urlGlob: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
188
- urlRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
189
- urlRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
190
- });
191
- _validatorPrimitives.scheme.FormField = (0, _validatorPrimitives.tObject)({
192
- name: _validatorPrimitives.tString,
193
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
194
- file: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
195
- name: _validatorPrimitives.tString,
196
- mimeType: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
197
- buffer: _validatorPrimitives.tBinary
198
- }))
199
- });
200
- _validatorPrimitives.scheme.APIRequestContextInitializer = (0, _validatorPrimitives.tObject)({
201
- tracing: (0, _validatorPrimitives.tChannel)(['Tracing'])
202
- });
203
- _validatorPrimitives.scheme.APIRequestContextFetchParams = (0, _validatorPrimitives.tObject)({
204
- url: _validatorPrimitives.tString,
205
- params: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
206
- method: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
207
- headers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
208
- postData: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
209
- jsonData: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
210
- formData: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
211
- multipartData: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('FormField'))),
212
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
213
- failOnStatusCode: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
214
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
215
- maxRedirects: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
216
- maxRetries: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
217
- });
218
- _validatorPrimitives.scheme.APIRequestContextFetchResult = (0, _validatorPrimitives.tObject)({
219
- response: (0, _validatorPrimitives.tType)('APIResponse')
220
- });
221
- _validatorPrimitives.scheme.APIRequestContextFetchResponseBodyParams = (0, _validatorPrimitives.tObject)({
222
- fetchUid: _validatorPrimitives.tString
223
- });
224
- _validatorPrimitives.scheme.APIRequestContextFetchResponseBodyResult = (0, _validatorPrimitives.tObject)({
225
- binary: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
226
- });
227
- _validatorPrimitives.scheme.APIRequestContextFetchLogParams = (0, _validatorPrimitives.tObject)({
228
- fetchUid: _validatorPrimitives.tString
229
- });
230
- _validatorPrimitives.scheme.APIRequestContextFetchLogResult = (0, _validatorPrimitives.tObject)({
231
- log: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)
232
- });
233
- _validatorPrimitives.scheme.APIRequestContextStorageStateParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
234
- _validatorPrimitives.scheme.APIRequestContextStorageStateResult = (0, _validatorPrimitives.tObject)({
235
- cookies: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NetworkCookie')),
236
- origins: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('OriginStorage'))
237
- });
238
- _validatorPrimitives.scheme.APIRequestContextDisposeAPIResponseParams = (0, _validatorPrimitives.tObject)({
239
- fetchUid: _validatorPrimitives.tString
240
- });
241
- _validatorPrimitives.scheme.APIRequestContextDisposeAPIResponseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
242
- _validatorPrimitives.scheme.APIRequestContextDisposeParams = (0, _validatorPrimitives.tObject)({
243
- reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
244
- });
245
- _validatorPrimitives.scheme.APIRequestContextDisposeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
246
- _validatorPrimitives.scheme.APIResponse = (0, _validatorPrimitives.tObject)({
247
- fetchUid: _validatorPrimitives.tString,
248
- url: _validatorPrimitives.tString,
249
- status: _validatorPrimitives.tNumber,
250
- statusText: _validatorPrimitives.tString,
251
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
252
- });
253
- _validatorPrimitives.scheme.LifecycleEvent = (0, _validatorPrimitives.tEnum)(['load', 'domcontentloaded', 'networkidle', 'commit']);
254
- _validatorPrimitives.scheme.LocalUtilsInitializer = (0, _validatorPrimitives.tObject)({
255
- deviceDescriptors: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
256
- name: _validatorPrimitives.tString,
257
- descriptor: (0, _validatorPrimitives.tObject)({
258
- userAgent: _validatorPrimitives.tString,
259
- viewport: (0, _validatorPrimitives.tObject)({
260
- width: _validatorPrimitives.tNumber,
261
- height: _validatorPrimitives.tNumber
262
- }),
263
- screen: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
264
- width: _validatorPrimitives.tNumber,
265
- height: _validatorPrimitives.tNumber
266
- })),
267
- deviceScaleFactor: _validatorPrimitives.tNumber,
268
- isMobile: _validatorPrimitives.tBoolean,
269
- hasTouch: _validatorPrimitives.tBoolean,
270
- defaultBrowserType: (0, _validatorPrimitives.tEnum)(['chromium', 'firefox', 'webkit'])
271
- })
272
- }))
273
- });
274
- _validatorPrimitives.scheme.LocalUtilsZipParams = (0, _validatorPrimitives.tObject)({
275
- zipFile: _validatorPrimitives.tString,
276
- entries: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue')),
277
- stacksId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
278
- mode: (0, _validatorPrimitives.tEnum)(['write', 'append']),
279
- includeSources: _validatorPrimitives.tBoolean
280
- });
281
- _validatorPrimitives.scheme.LocalUtilsZipResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
282
- _validatorPrimitives.scheme.LocalUtilsHarOpenParams = (0, _validatorPrimitives.tObject)({
283
- file: _validatorPrimitives.tString
284
- });
285
- _validatorPrimitives.scheme.LocalUtilsHarOpenResult = (0, _validatorPrimitives.tObject)({
286
- harId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
287
- error: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
288
- });
289
- _validatorPrimitives.scheme.LocalUtilsHarLookupParams = (0, _validatorPrimitives.tObject)({
290
- harId: _validatorPrimitives.tString,
291
- url: _validatorPrimitives.tString,
292
- method: _validatorPrimitives.tString,
293
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue')),
294
- postData: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
295
- isNavigationRequest: _validatorPrimitives.tBoolean
296
- });
297
- _validatorPrimitives.scheme.LocalUtilsHarLookupResult = (0, _validatorPrimitives.tObject)({
298
- action: (0, _validatorPrimitives.tEnum)(['error', 'redirect', 'fulfill', 'noentry']),
299
- message: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
300
- redirectURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
301
- status: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
302
- headers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
303
- body: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
304
- });
305
- _validatorPrimitives.scheme.LocalUtilsHarCloseParams = (0, _validatorPrimitives.tObject)({
306
- harId: _validatorPrimitives.tString
307
- });
308
- _validatorPrimitives.scheme.LocalUtilsHarCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
309
- _validatorPrimitives.scheme.LocalUtilsHarUnzipParams = (0, _validatorPrimitives.tObject)({
310
- zipFile: _validatorPrimitives.tString,
311
- harFile: _validatorPrimitives.tString
312
- });
313
- _validatorPrimitives.scheme.LocalUtilsHarUnzipResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
314
- _validatorPrimitives.scheme.LocalUtilsConnectParams = (0, _validatorPrimitives.tObject)({
315
- wsEndpoint: _validatorPrimitives.tString,
316
- headers: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny),
317
- exposeNetwork: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
318
- slowMo: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
319
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
320
- socksProxyRedirectPortForTest: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
321
- });
322
- _validatorPrimitives.scheme.LocalUtilsConnectResult = (0, _validatorPrimitives.tObject)({
323
- pipe: (0, _validatorPrimitives.tChannel)(['JsonPipe']),
324
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
325
- });
326
- _validatorPrimitives.scheme.LocalUtilsTracingStartedParams = (0, _validatorPrimitives.tObject)({
327
- tracesDir: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
328
- traceName: _validatorPrimitives.tString
329
- });
330
- _validatorPrimitives.scheme.LocalUtilsTracingStartedResult = (0, _validatorPrimitives.tObject)({
331
- stacksId: _validatorPrimitives.tString
332
- });
333
- _validatorPrimitives.scheme.LocalUtilsAddStackToTracingNoReplyParams = (0, _validatorPrimitives.tObject)({
334
- callData: (0, _validatorPrimitives.tType)('ClientSideCallMetadata')
335
- });
336
- _validatorPrimitives.scheme.LocalUtilsAddStackToTracingNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
337
- _validatorPrimitives.scheme.LocalUtilsTraceDiscardedParams = (0, _validatorPrimitives.tObject)({
338
- stacksId: _validatorPrimitives.tString
339
- });
340
- _validatorPrimitives.scheme.LocalUtilsTraceDiscardedResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
341
- _validatorPrimitives.scheme.RootInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
342
- _validatorPrimitives.scheme.RootInitializeParams = (0, _validatorPrimitives.tObject)({
343
- sdkLanguage: (0, _validatorPrimitives.tEnum)(['javascript', 'python', 'java', 'csharp'])
344
- });
345
- _validatorPrimitives.scheme.RootInitializeResult = (0, _validatorPrimitives.tObject)({
346
- playwright: (0, _validatorPrimitives.tChannel)(['Playwright'])
347
- });
348
- _validatorPrimitives.scheme.PlaywrightInitializer = (0, _validatorPrimitives.tObject)({
349
- chromium: (0, _validatorPrimitives.tChannel)(['BrowserType']),
350
- bidi: (0, _validatorPrimitives.tChannel)(['BrowserType']),
351
- firefox: (0, _validatorPrimitives.tChannel)(['BrowserType']),
352
- webkit: (0, _validatorPrimitives.tChannel)(['BrowserType']),
353
- android: (0, _validatorPrimitives.tChannel)(['Android']),
354
- electron: (0, _validatorPrimitives.tChannel)(['Electron']),
355
- utils: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['LocalUtils'])),
356
- selectors: (0, _validatorPrimitives.tChannel)(['Selectors']),
357
- preLaunchedBrowser: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Browser'])),
358
- preConnectedAndroidDevice: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['AndroidDevice'])),
359
- socksSupport: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['SocksSupport']))
360
- });
361
- _validatorPrimitives.scheme.PlaywrightNewRequestParams = (0, _validatorPrimitives.tObject)({
362
- baseURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
363
- userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
364
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
365
- extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
366
- clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
367
- origin: _validatorPrimitives.tString,
368
- cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
369
- key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
370
- passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
371
- pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
372
- }))),
373
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
374
- username: _validatorPrimitives.tString,
375
- password: _validatorPrimitives.tString,
376
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
377
- send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
378
- })),
379
- proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
380
- server: _validatorPrimitives.tString,
381
- bypass: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
382
- username: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
383
- password: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
384
- })),
385
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
386
- storageState: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
387
- cookies: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NetworkCookie'))),
388
- origins: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('OriginStorage')))
389
- })),
390
- tracesDir: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
391
- });
392
- _validatorPrimitives.scheme.PlaywrightNewRequestResult = (0, _validatorPrimitives.tObject)({
393
- request: (0, _validatorPrimitives.tChannel)(['APIRequestContext'])
394
- });
395
- _validatorPrimitives.scheme.RecorderSource = (0, _validatorPrimitives.tObject)({
396
- isRecorded: _validatorPrimitives.tBoolean,
397
- id: _validatorPrimitives.tString,
398
- label: _validatorPrimitives.tString,
399
- text: _validatorPrimitives.tString,
400
- language: _validatorPrimitives.tString,
401
- highlight: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
402
- line: _validatorPrimitives.tNumber,
403
- type: _validatorPrimitives.tString
404
- })),
405
- revealLine: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
406
- group: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
407
- });
408
- _validatorPrimitives.scheme.DebugControllerInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
409
- _validatorPrimitives.scheme.DebugControllerInspectRequestedEvent = (0, _validatorPrimitives.tObject)({
410
- selector: _validatorPrimitives.tString,
411
- locator: _validatorPrimitives.tString
412
- });
413
- _validatorPrimitives.scheme.DebugControllerSetModeRequestedEvent = (0, _validatorPrimitives.tObject)({
414
- mode: _validatorPrimitives.tString
415
- });
416
- _validatorPrimitives.scheme.DebugControllerStateChangedEvent = (0, _validatorPrimitives.tObject)({
417
- pageCount: _validatorPrimitives.tNumber
418
- });
419
- _validatorPrimitives.scheme.DebugControllerSourceChangedEvent = (0, _validatorPrimitives.tObject)({
420
- text: _validatorPrimitives.tString,
421
- header: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
422
- footer: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
423
- actions: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString))
424
- });
425
- _validatorPrimitives.scheme.DebugControllerPausedEvent = (0, _validatorPrimitives.tObject)({
426
- paused: _validatorPrimitives.tBoolean
427
- });
428
- _validatorPrimitives.scheme.DebugControllerInitializeParams = (0, _validatorPrimitives.tObject)({
429
- codegenId: _validatorPrimitives.tString,
430
- sdkLanguage: (0, _validatorPrimitives.tEnum)(['javascript', 'python', 'java', 'csharp'])
431
- });
432
- _validatorPrimitives.scheme.DebugControllerInitializeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
433
- _validatorPrimitives.scheme.DebugControllerSetReportStateChangedParams = (0, _validatorPrimitives.tObject)({
434
- enabled: _validatorPrimitives.tBoolean
435
- });
436
- _validatorPrimitives.scheme.DebugControllerSetReportStateChangedResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
437
- _validatorPrimitives.scheme.DebugControllerResetForReuseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
438
- _validatorPrimitives.scheme.DebugControllerResetForReuseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
439
- _validatorPrimitives.scheme.DebugControllerNavigateParams = (0, _validatorPrimitives.tObject)({
440
- url: _validatorPrimitives.tString
441
- });
442
- _validatorPrimitives.scheme.DebugControllerNavigateResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
443
- _validatorPrimitives.scheme.DebugControllerSetRecorderModeParams = (0, _validatorPrimitives.tObject)({
444
- mode: (0, _validatorPrimitives.tEnum)(['inspecting', 'recording', 'none']),
445
- testIdAttributeName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
446
- });
447
- _validatorPrimitives.scheme.DebugControllerSetRecorderModeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
448
- _validatorPrimitives.scheme.DebugControllerHighlightParams = (0, _validatorPrimitives.tObject)({
449
- selector: _validatorPrimitives.tString
450
- });
451
- _validatorPrimitives.scheme.DebugControllerHighlightResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
452
- _validatorPrimitives.scheme.DebugControllerHideHighlightParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
453
- _validatorPrimitives.scheme.DebugControllerHideHighlightResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
454
- _validatorPrimitives.scheme.DebugControllerResumeParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
455
- _validatorPrimitives.scheme.DebugControllerResumeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
456
- _validatorPrimitives.scheme.DebugControllerKillParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
457
- _validatorPrimitives.scheme.DebugControllerKillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
458
- _validatorPrimitives.scheme.DebugControllerCloseAllBrowsersParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
459
- _validatorPrimitives.scheme.DebugControllerCloseAllBrowsersResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
460
- _validatorPrimitives.scheme.SocksSupportInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
461
- _validatorPrimitives.scheme.SocksSupportSocksRequestedEvent = (0, _validatorPrimitives.tObject)({
462
- uid: _validatorPrimitives.tString,
463
- host: _validatorPrimitives.tString,
464
- port: _validatorPrimitives.tNumber
465
- });
466
- _validatorPrimitives.scheme.SocksSupportSocksDataEvent = (0, _validatorPrimitives.tObject)({
467
- uid: _validatorPrimitives.tString,
468
- data: _validatorPrimitives.tBinary
469
- });
470
- _validatorPrimitives.scheme.SocksSupportSocksClosedEvent = (0, _validatorPrimitives.tObject)({
471
- uid: _validatorPrimitives.tString
472
- });
473
- _validatorPrimitives.scheme.SocksSupportSocksConnectedParams = (0, _validatorPrimitives.tObject)({
474
- uid: _validatorPrimitives.tString,
475
- host: _validatorPrimitives.tString,
476
- port: _validatorPrimitives.tNumber
477
- });
478
- _validatorPrimitives.scheme.SocksSupportSocksConnectedResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
479
- _validatorPrimitives.scheme.SocksSupportSocksFailedParams = (0, _validatorPrimitives.tObject)({
480
- uid: _validatorPrimitives.tString,
481
- errorCode: _validatorPrimitives.tString
482
- });
483
- _validatorPrimitives.scheme.SocksSupportSocksFailedResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
484
- _validatorPrimitives.scheme.SocksSupportSocksDataParams = (0, _validatorPrimitives.tObject)({
485
- uid: _validatorPrimitives.tString,
486
- data: _validatorPrimitives.tBinary
487
- });
488
- _validatorPrimitives.scheme.SocksSupportSocksDataResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
489
- _validatorPrimitives.scheme.SocksSupportSocksErrorParams = (0, _validatorPrimitives.tObject)({
490
- uid: _validatorPrimitives.tString,
491
- error: _validatorPrimitives.tString
492
- });
493
- _validatorPrimitives.scheme.SocksSupportSocksErrorResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
494
- _validatorPrimitives.scheme.SocksSupportSocksEndParams = (0, _validatorPrimitives.tObject)({
495
- uid: _validatorPrimitives.tString
496
- });
497
- _validatorPrimitives.scheme.SocksSupportSocksEndResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
498
- _validatorPrimitives.scheme.SelectorsInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
499
- _validatorPrimitives.scheme.SelectorsRegisterParams = (0, _validatorPrimitives.tObject)({
500
- name: _validatorPrimitives.tString,
501
- source: _validatorPrimitives.tString,
502
- contentScript: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
503
- });
504
- _validatorPrimitives.scheme.SelectorsRegisterResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
505
- _validatorPrimitives.scheme.SelectorsSetTestIdAttributeNameParams = (0, _validatorPrimitives.tObject)({
506
- testIdAttributeName: _validatorPrimitives.tString
507
- });
508
- _validatorPrimitives.scheme.SelectorsSetTestIdAttributeNameResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
509
- _validatorPrimitives.scheme.BrowserTypeInitializer = (0, _validatorPrimitives.tObject)({
510
- executablePath: _validatorPrimitives.tString,
511
- name: _validatorPrimitives.tString
512
- });
513
- _validatorPrimitives.scheme.BrowserTypeLaunchParams = (0, _validatorPrimitives.tObject)({
514
- channel: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
515
- executablePath: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
516
- args: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
517
- ignoreAllDefaultArgs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
518
- ignoreDefaultArgs: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
519
- handleSIGINT: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
520
- handleSIGTERM: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
521
- handleSIGHUP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
522
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
523
- env: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
524
- headless: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
525
- devtools: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
526
- proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
527
- server: _validatorPrimitives.tString,
528
- bypass: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
529
- username: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
530
- password: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
531
- })),
532
- downloadsPath: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
533
- tracesDir: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
534
- chromiumSandbox: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
535
- firefoxUserPrefs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny),
536
- slowMo: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
537
- });
538
- _validatorPrimitives.scheme.BrowserTypeLaunchResult = (0, _validatorPrimitives.tObject)({
539
- browser: (0, _validatorPrimitives.tChannel)(['Browser'])
540
- });
541
- _validatorPrimitives.scheme.BrowserTypeLaunchPersistentContextParams = (0, _validatorPrimitives.tObject)({
542
- channel: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
543
- executablePath: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
544
- args: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
545
- ignoreAllDefaultArgs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
546
- ignoreDefaultArgs: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
547
- handleSIGINT: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
548
- handleSIGTERM: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
549
- handleSIGHUP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
550
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
551
- env: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
552
- headless: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
553
- devtools: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
554
- proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
555
- server: _validatorPrimitives.tString,
556
- bypass: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
557
- username: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
558
- password: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
559
- })),
560
- downloadsPath: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
561
- tracesDir: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
562
- chromiumSandbox: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
563
- firefoxUserPrefs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny),
564
- noDefaultViewport: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
565
- viewport: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
566
- width: _validatorPrimitives.tNumber,
567
- height: _validatorPrimitives.tNumber
568
- })),
569
- screen: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
570
- width: _validatorPrimitives.tNumber,
571
- height: _validatorPrimitives.tNumber
572
- })),
573
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
574
- clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
575
- origin: _validatorPrimitives.tString,
576
- cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
577
- key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
578
- passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
579
- pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
580
- }))),
581
- javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
582
- bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
583
- userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
584
- locale: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
585
- timezoneId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
586
- geolocation: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
587
- longitude: _validatorPrimitives.tNumber,
588
- latitude: _validatorPrimitives.tNumber,
589
- accuracy: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
590
- })),
591
- permissions: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
592
- extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
593
- offline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
594
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
595
- username: _validatorPrimitives.tString,
596
- password: _validatorPrimitives.tString,
597
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
598
- send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
599
- })),
600
- deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
601
- isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
602
- hasTouch: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
603
- colorScheme: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['dark', 'light', 'no-preference', 'no-override'])),
604
- reducedMotion: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['reduce', 'no-preference', 'no-override'])),
605
- forcedColors: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['active', 'none', 'no-override'])),
606
- acceptDownloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['accept', 'deny', 'internal-browser-default'])),
607
- baseURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
608
- recordVideo: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
609
- dir: _validatorPrimitives.tString,
610
- size: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
611
- width: _validatorPrimitives.tNumber,
612
- height: _validatorPrimitives.tNumber
613
- }))
614
- })),
615
- recordHar: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('RecordHarOptions')),
616
- strictSelectors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
617
- serviceWorkers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['allow', 'block'])),
618
- userDataDir: _validatorPrimitives.tString,
619
- slowMo: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
620
- });
621
- _validatorPrimitives.scheme.BrowserTypeLaunchPersistentContextResult = (0, _validatorPrimitives.tObject)({
622
- context: (0, _validatorPrimitives.tChannel)(['BrowserContext'])
623
- });
624
- _validatorPrimitives.scheme.BrowserTypeConnectOverCDPParams = (0, _validatorPrimitives.tObject)({
625
- endpointURL: _validatorPrimitives.tString,
626
- headers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
627
- slowMo: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
628
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
629
- });
630
- _validatorPrimitives.scheme.BrowserTypeConnectOverCDPResult = (0, _validatorPrimitives.tObject)({
631
- browser: (0, _validatorPrimitives.tChannel)(['Browser']),
632
- defaultContext: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['BrowserContext']))
633
- });
634
- _validatorPrimitives.scheme.BrowserInitializer = (0, _validatorPrimitives.tObject)({
635
- version: _validatorPrimitives.tString,
636
- name: _validatorPrimitives.tString
637
- });
638
- _validatorPrimitives.scheme.BrowserCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
639
- _validatorPrimitives.scheme.BrowserCloseParams = (0, _validatorPrimitives.tObject)({
640
- reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
641
- });
642
- _validatorPrimitives.scheme.BrowserCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
643
- _validatorPrimitives.scheme.BrowserKillForTestsParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
644
- _validatorPrimitives.scheme.BrowserKillForTestsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
645
- _validatorPrimitives.scheme.BrowserDefaultUserAgentForTestParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
646
- _validatorPrimitives.scheme.BrowserDefaultUserAgentForTestResult = (0, _validatorPrimitives.tObject)({
647
- userAgent: _validatorPrimitives.tString
648
- });
649
- _validatorPrimitives.scheme.BrowserNewContextParams = (0, _validatorPrimitives.tObject)({
650
- noDefaultViewport: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
651
- viewport: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
652
- width: _validatorPrimitives.tNumber,
653
- height: _validatorPrimitives.tNumber
654
- })),
655
- screen: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
656
- width: _validatorPrimitives.tNumber,
657
- height: _validatorPrimitives.tNumber
658
- })),
659
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
660
- clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
661
- origin: _validatorPrimitives.tString,
662
- cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
663
- key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
664
- passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
665
- pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
666
- }))),
667
- javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
668
- bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
669
- userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
670
- locale: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
671
- timezoneId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
672
- geolocation: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
673
- longitude: _validatorPrimitives.tNumber,
674
- latitude: _validatorPrimitives.tNumber,
675
- accuracy: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
676
- })),
677
- permissions: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
678
- extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
679
- offline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
680
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
681
- username: _validatorPrimitives.tString,
682
- password: _validatorPrimitives.tString,
683
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
684
- send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
685
- })),
686
- deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
687
- isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
688
- hasTouch: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
689
- colorScheme: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['dark', 'light', 'no-preference', 'no-override'])),
690
- reducedMotion: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['reduce', 'no-preference', 'no-override'])),
691
- forcedColors: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['active', 'none', 'no-override'])),
692
- acceptDownloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['accept', 'deny', 'internal-browser-default'])),
693
- baseURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
694
- recordVideo: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
695
- dir: _validatorPrimitives.tString,
696
- size: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
697
- width: _validatorPrimitives.tNumber,
698
- height: _validatorPrimitives.tNumber
699
- }))
700
- })),
701
- recordHar: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('RecordHarOptions')),
702
- strictSelectors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
703
- serviceWorkers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['allow', 'block'])),
704
- proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
705
- server: _validatorPrimitives.tString,
706
- bypass: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
707
- username: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
708
- password: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
709
- })),
710
- storageState: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
711
- cookies: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('SetNetworkCookie'))),
712
- origins: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('OriginStorage')))
713
- }))
714
- });
715
- _validatorPrimitives.scheme.BrowserNewContextResult = (0, _validatorPrimitives.tObject)({
716
- context: (0, _validatorPrimitives.tChannel)(['BrowserContext'])
717
- });
718
- _validatorPrimitives.scheme.BrowserNewContextForReuseParams = (0, _validatorPrimitives.tObject)({
719
- noDefaultViewport: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
720
- viewport: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
721
- width: _validatorPrimitives.tNumber,
722
- height: _validatorPrimitives.tNumber
723
- })),
724
- screen: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
725
- width: _validatorPrimitives.tNumber,
726
- height: _validatorPrimitives.tNumber
727
- })),
728
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
729
- clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
730
- origin: _validatorPrimitives.tString,
731
- cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
732
- key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
733
- passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
734
- pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
735
- }))),
736
- javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
737
- bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
738
- userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
739
- locale: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
740
- timezoneId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
741
- geolocation: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
742
- longitude: _validatorPrimitives.tNumber,
743
- latitude: _validatorPrimitives.tNumber,
744
- accuracy: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
745
- })),
746
- permissions: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
747
- extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
748
- offline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
749
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
750
- username: _validatorPrimitives.tString,
751
- password: _validatorPrimitives.tString,
752
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
753
- send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
754
- })),
755
- deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
756
- isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
757
- hasTouch: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
758
- colorScheme: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['dark', 'light', 'no-preference', 'no-override'])),
759
- reducedMotion: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['reduce', 'no-preference', 'no-override'])),
760
- forcedColors: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['active', 'none', 'no-override'])),
761
- acceptDownloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['accept', 'deny', 'internal-browser-default'])),
762
- baseURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
763
- recordVideo: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
764
- dir: _validatorPrimitives.tString,
765
- size: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
766
- width: _validatorPrimitives.tNumber,
767
- height: _validatorPrimitives.tNumber
768
- }))
769
- })),
770
- recordHar: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('RecordHarOptions')),
771
- strictSelectors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
772
- serviceWorkers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['allow', 'block'])),
773
- proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
774
- server: _validatorPrimitives.tString,
775
- bypass: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
776
- username: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
777
- password: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
778
- })),
779
- storageState: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
780
- cookies: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('SetNetworkCookie'))),
781
- origins: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('OriginStorage')))
782
- }))
783
- });
784
- _validatorPrimitives.scheme.BrowserNewContextForReuseResult = (0, _validatorPrimitives.tObject)({
785
- context: (0, _validatorPrimitives.tChannel)(['BrowserContext'])
786
- });
787
- _validatorPrimitives.scheme.BrowserStopPendingOperationsParams = (0, _validatorPrimitives.tObject)({
788
- reason: _validatorPrimitives.tString
789
- });
790
- _validatorPrimitives.scheme.BrowserStopPendingOperationsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
791
- _validatorPrimitives.scheme.BrowserNewBrowserCDPSessionParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
792
- _validatorPrimitives.scheme.BrowserNewBrowserCDPSessionResult = (0, _validatorPrimitives.tObject)({
793
- session: (0, _validatorPrimitives.tChannel)(['CDPSession'])
794
- });
795
- _validatorPrimitives.scheme.BrowserStartTracingParams = (0, _validatorPrimitives.tObject)({
796
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page'])),
797
- screenshots: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
798
- categories: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString))
799
- });
800
- _validatorPrimitives.scheme.BrowserStartTracingResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
801
- _validatorPrimitives.scheme.BrowserStopTracingParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
802
- _validatorPrimitives.scheme.BrowserStopTracingResult = (0, _validatorPrimitives.tObject)({
803
- artifact: (0, _validatorPrimitives.tChannel)(['Artifact'])
804
- });
805
- _validatorPrimitives.scheme.EventTargetInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
806
- _validatorPrimitives.scheme.EventTargetWaitForEventInfoParams = (0, _validatorPrimitives.tObject)({
807
- info: (0, _validatorPrimitives.tObject)({
808
- waitId: _validatorPrimitives.tString,
809
- phase: (0, _validatorPrimitives.tEnum)(['before', 'after', 'log']),
810
- event: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
811
- message: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
812
- error: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
813
- })
814
- });
815
- _validatorPrimitives.scheme.BrowserContextWaitForEventInfoParams = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoParams');
816
- _validatorPrimitives.scheme.PageWaitForEventInfoParams = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoParams');
817
- _validatorPrimitives.scheme.WebSocketWaitForEventInfoParams = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoParams');
818
- _validatorPrimitives.scheme.ElectronApplicationWaitForEventInfoParams = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoParams');
819
- _validatorPrimitives.scheme.AndroidDeviceWaitForEventInfoParams = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoParams');
820
- _validatorPrimitives.scheme.EventTargetWaitForEventInfoResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
821
- _validatorPrimitives.scheme.BrowserContextWaitForEventInfoResult = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoResult');
822
- _validatorPrimitives.scheme.PageWaitForEventInfoResult = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoResult');
823
- _validatorPrimitives.scheme.WebSocketWaitForEventInfoResult = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoResult');
824
- _validatorPrimitives.scheme.ElectronApplicationWaitForEventInfoResult = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoResult');
825
- _validatorPrimitives.scheme.AndroidDeviceWaitForEventInfoResult = (0, _validatorPrimitives.tType)('EventTargetWaitForEventInfoResult');
826
- _validatorPrimitives.scheme.BrowserContextInitializer = (0, _validatorPrimitives.tObject)({
827
- isChromium: _validatorPrimitives.tBoolean,
828
- requestContext: (0, _validatorPrimitives.tChannel)(['APIRequestContext']),
829
- tracing: (0, _validatorPrimitives.tChannel)(['Tracing'])
830
- });
831
- _validatorPrimitives.scheme.BrowserContextBindingCallEvent = (0, _validatorPrimitives.tObject)({
832
- binding: (0, _validatorPrimitives.tChannel)(['BindingCall'])
833
- });
834
- _validatorPrimitives.scheme.BrowserContextConsoleEvent = (0, _validatorPrimitives.tObject)({
835
- type: _validatorPrimitives.tString,
836
- text: _validatorPrimitives.tString,
837
- args: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])),
838
- location: (0, _validatorPrimitives.tObject)({
839
- url: _validatorPrimitives.tString,
840
- lineNumber: _validatorPrimitives.tNumber,
841
- columnNumber: _validatorPrimitives.tNumber
842
- }),
843
- page: (0, _validatorPrimitives.tChannel)(['Page'])
844
- });
845
- _validatorPrimitives.scheme.BrowserContextCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
846
- _validatorPrimitives.scheme.BrowserContextDialogEvent = (0, _validatorPrimitives.tObject)({
847
- dialog: (0, _validatorPrimitives.tChannel)(['Dialog'])
848
- });
849
- _validatorPrimitives.scheme.BrowserContextPageEvent = (0, _validatorPrimitives.tObject)({
850
- page: (0, _validatorPrimitives.tChannel)(['Page'])
851
- });
852
- _validatorPrimitives.scheme.BrowserContextPageErrorEvent = (0, _validatorPrimitives.tObject)({
853
- error: (0, _validatorPrimitives.tType)('SerializedError'),
854
- page: (0, _validatorPrimitives.tChannel)(['Page'])
855
- });
856
- _validatorPrimitives.scheme.BrowserContextRouteEvent = (0, _validatorPrimitives.tObject)({
857
- route: (0, _validatorPrimitives.tChannel)(['Route'])
858
- });
859
- _validatorPrimitives.scheme.BrowserContextVideoEvent = (0, _validatorPrimitives.tObject)({
860
- artifact: (0, _validatorPrimitives.tChannel)(['Artifact'])
861
- });
862
- _validatorPrimitives.scheme.BrowserContextBackgroundPageEvent = (0, _validatorPrimitives.tObject)({
863
- page: (0, _validatorPrimitives.tChannel)(['Page'])
864
- });
865
- _validatorPrimitives.scheme.BrowserContextServiceWorkerEvent = (0, _validatorPrimitives.tObject)({
866
- worker: (0, _validatorPrimitives.tChannel)(['Worker'])
867
- });
868
- _validatorPrimitives.scheme.BrowserContextRequestEvent = (0, _validatorPrimitives.tObject)({
869
- request: (0, _validatorPrimitives.tChannel)(['Request']),
870
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page']))
871
- });
872
- _validatorPrimitives.scheme.BrowserContextRequestFailedEvent = (0, _validatorPrimitives.tObject)({
873
- request: (0, _validatorPrimitives.tChannel)(['Request']),
874
- failureText: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
875
- responseEndTiming: _validatorPrimitives.tNumber,
876
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page']))
877
- });
878
- _validatorPrimitives.scheme.BrowserContextRequestFinishedEvent = (0, _validatorPrimitives.tObject)({
879
- request: (0, _validatorPrimitives.tChannel)(['Request']),
880
- response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response'])),
881
- responseEndTiming: _validatorPrimitives.tNumber,
882
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page']))
883
- });
884
- _validatorPrimitives.scheme.BrowserContextResponseEvent = (0, _validatorPrimitives.tObject)({
885
- response: (0, _validatorPrimitives.tChannel)(['Response']),
886
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page']))
887
- });
888
- _validatorPrimitives.scheme.BrowserContextAddCookiesParams = (0, _validatorPrimitives.tObject)({
889
- cookies: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('SetNetworkCookie'))
890
- });
891
- _validatorPrimitives.scheme.BrowserContextAddCookiesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
892
- _validatorPrimitives.scheme.BrowserContextAddInitScriptParams = (0, _validatorPrimitives.tObject)({
893
- source: _validatorPrimitives.tString
894
- });
895
- _validatorPrimitives.scheme.BrowserContextAddInitScriptResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
896
- _validatorPrimitives.scheme.BrowserContextClearCookiesParams = (0, _validatorPrimitives.tObject)({
897
- name: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
898
- nameRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
899
- nameRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
900
- domain: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
901
- domainRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
902
- domainRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
903
- path: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
904
- pathRegexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
905
- pathRegexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
906
- });
907
- _validatorPrimitives.scheme.BrowserContextClearCookiesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
908
- _validatorPrimitives.scheme.BrowserContextClearPermissionsParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
909
- _validatorPrimitives.scheme.BrowserContextClearPermissionsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
910
- _validatorPrimitives.scheme.BrowserContextCloseParams = (0, _validatorPrimitives.tObject)({
911
- reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
912
- });
913
- _validatorPrimitives.scheme.BrowserContextCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
914
- _validatorPrimitives.scheme.BrowserContextCookiesParams = (0, _validatorPrimitives.tObject)({
915
- urls: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)
916
- });
917
- _validatorPrimitives.scheme.BrowserContextCookiesResult = (0, _validatorPrimitives.tObject)({
918
- cookies: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NetworkCookie'))
919
- });
920
- _validatorPrimitives.scheme.BrowserContextExposeBindingParams = (0, _validatorPrimitives.tObject)({
921
- name: _validatorPrimitives.tString,
922
- needsHandle: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
923
- });
924
- _validatorPrimitives.scheme.BrowserContextExposeBindingResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
925
- _validatorPrimitives.scheme.BrowserContextGrantPermissionsParams = (0, _validatorPrimitives.tObject)({
926
- permissions: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString),
927
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
928
- });
929
- _validatorPrimitives.scheme.BrowserContextGrantPermissionsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
930
- _validatorPrimitives.scheme.BrowserContextNewPageParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
931
- _validatorPrimitives.scheme.BrowserContextNewPageResult = (0, _validatorPrimitives.tObject)({
932
- page: (0, _validatorPrimitives.tChannel)(['Page'])
933
- });
934
- _validatorPrimitives.scheme.BrowserContextSetDefaultNavigationTimeoutNoReplyParams = (0, _validatorPrimitives.tObject)({
935
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
936
- });
937
- _validatorPrimitives.scheme.BrowserContextSetDefaultNavigationTimeoutNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
938
- _validatorPrimitives.scheme.BrowserContextSetDefaultTimeoutNoReplyParams = (0, _validatorPrimitives.tObject)({
939
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
940
- });
941
- _validatorPrimitives.scheme.BrowserContextSetDefaultTimeoutNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
942
- _validatorPrimitives.scheme.BrowserContextSetExtraHTTPHeadersParams = (0, _validatorPrimitives.tObject)({
943
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
944
- });
945
- _validatorPrimitives.scheme.BrowserContextSetExtraHTTPHeadersResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
946
- _validatorPrimitives.scheme.BrowserContextSetGeolocationParams = (0, _validatorPrimitives.tObject)({
947
- geolocation: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
948
- longitude: _validatorPrimitives.tNumber,
949
- latitude: _validatorPrimitives.tNumber,
950
- accuracy: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
951
- }))
952
- });
953
- _validatorPrimitives.scheme.BrowserContextSetGeolocationResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
954
- _validatorPrimitives.scheme.BrowserContextSetHTTPCredentialsParams = (0, _validatorPrimitives.tObject)({
955
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
956
- username: _validatorPrimitives.tString,
957
- password: _validatorPrimitives.tString,
958
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
959
- }))
960
- });
961
- _validatorPrimitives.scheme.BrowserContextSetHTTPCredentialsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
962
- _validatorPrimitives.scheme.BrowserContextSetNetworkInterceptionPatternsParams = (0, _validatorPrimitives.tObject)({
963
- patterns: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
964
- glob: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
965
- regexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
966
- regexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
967
- }))
968
- });
969
- _validatorPrimitives.scheme.BrowserContextSetNetworkInterceptionPatternsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
970
- _validatorPrimitives.scheme.BrowserContextSetOfflineParams = (0, _validatorPrimitives.tObject)({
971
- offline: _validatorPrimitives.tBoolean
972
- });
973
- _validatorPrimitives.scheme.BrowserContextSetOfflineResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
974
- _validatorPrimitives.scheme.BrowserContextStorageStateParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
975
- _validatorPrimitives.scheme.BrowserContextStorageStateResult = (0, _validatorPrimitives.tObject)({
976
- cookies: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NetworkCookie')),
977
- origins: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('OriginStorage'))
978
- });
979
- _validatorPrimitives.scheme.BrowserContextPauseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
980
- _validatorPrimitives.scheme.BrowserContextPauseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
981
- _validatorPrimitives.scheme.BrowserContextRecorderSupplementEnableParams = (0, _validatorPrimitives.tObject)({
982
- language: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
983
- mode: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['inspecting', 'recording'])),
984
- pauseOnNextStatement: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
985
- testIdAttributeName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
986
- launchOptions: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny),
987
- contextOptions: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny),
988
- device: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
989
- saveStorage: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
990
- outputFile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
991
- omitCallTracking: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
992
- });
993
- _validatorPrimitives.scheme.BrowserContextRecorderSupplementEnableResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
994
- _validatorPrimitives.scheme.BrowserContextNewCDPSessionParams = (0, _validatorPrimitives.tObject)({
995
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page'])),
996
- frame: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Frame']))
997
- });
998
- _validatorPrimitives.scheme.BrowserContextNewCDPSessionResult = (0, _validatorPrimitives.tObject)({
999
- session: (0, _validatorPrimitives.tChannel)(['CDPSession'])
1000
- });
1001
- _validatorPrimitives.scheme.BrowserContextHarStartParams = (0, _validatorPrimitives.tObject)({
1002
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page'])),
1003
- options: (0, _validatorPrimitives.tType)('RecordHarOptions')
1004
- });
1005
- _validatorPrimitives.scheme.BrowserContextHarStartResult = (0, _validatorPrimitives.tObject)({
1006
- harId: _validatorPrimitives.tString
1007
- });
1008
- _validatorPrimitives.scheme.BrowserContextHarExportParams = (0, _validatorPrimitives.tObject)({
1009
- harId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1010
- });
1011
- _validatorPrimitives.scheme.BrowserContextHarExportResult = (0, _validatorPrimitives.tObject)({
1012
- artifact: (0, _validatorPrimitives.tChannel)(['Artifact'])
1013
- });
1014
- _validatorPrimitives.scheme.BrowserContextCreateTempFilesParams = (0, _validatorPrimitives.tObject)({
1015
- rootDirName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1016
- items: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1017
- name: _validatorPrimitives.tString,
1018
- lastModifiedMs: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1019
- }))
1020
- });
1021
- _validatorPrimitives.scheme.BrowserContextCreateTempFilesResult = (0, _validatorPrimitives.tObject)({
1022
- rootDir: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['WritableStream'])),
1023
- writableStreams: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['WritableStream']))
1024
- });
1025
- _validatorPrimitives.scheme.BrowserContextUpdateSubscriptionParams = (0, _validatorPrimitives.tObject)({
1026
- event: (0, _validatorPrimitives.tEnum)(['console', 'dialog', 'request', 'response', 'requestFinished', 'requestFailed']),
1027
- enabled: _validatorPrimitives.tBoolean
1028
- });
1029
- _validatorPrimitives.scheme.BrowserContextUpdateSubscriptionResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1030
- _validatorPrimitives.scheme.BrowserContextClockFastForwardParams = (0, _validatorPrimitives.tObject)({
1031
- ticksNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1032
- ticksString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1033
- });
1034
- _validatorPrimitives.scheme.BrowserContextClockFastForwardResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1035
- _validatorPrimitives.scheme.BrowserContextClockInstallParams = (0, _validatorPrimitives.tObject)({
1036
- timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1037
- timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1038
- });
1039
- _validatorPrimitives.scheme.BrowserContextClockInstallResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1040
- _validatorPrimitives.scheme.BrowserContextClockPauseAtParams = (0, _validatorPrimitives.tObject)({
1041
- timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1042
- timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1043
- });
1044
- _validatorPrimitives.scheme.BrowserContextClockPauseAtResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1045
- _validatorPrimitives.scheme.BrowserContextClockResumeParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1046
- _validatorPrimitives.scheme.BrowserContextClockResumeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1047
- _validatorPrimitives.scheme.BrowserContextClockRunForParams = (0, _validatorPrimitives.tObject)({
1048
- ticksNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1049
- ticksString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1050
- });
1051
- _validatorPrimitives.scheme.BrowserContextClockRunForResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1052
- _validatorPrimitives.scheme.BrowserContextClockSetFixedTimeParams = (0, _validatorPrimitives.tObject)({
1053
- timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1054
- timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1055
- });
1056
- _validatorPrimitives.scheme.BrowserContextClockSetFixedTimeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1057
- _validatorPrimitives.scheme.BrowserContextClockSetSystemTimeParams = (0, _validatorPrimitives.tObject)({
1058
- timeNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1059
- timeString: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1060
- });
1061
- _validatorPrimitives.scheme.BrowserContextClockSetSystemTimeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1062
- _validatorPrimitives.scheme.PageInitializer = (0, _validatorPrimitives.tObject)({
1063
- mainFrame: (0, _validatorPrimitives.tChannel)(['Frame']),
1064
- viewportSize: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
1065
- width: _validatorPrimitives.tNumber,
1066
- height: _validatorPrimitives.tNumber
1067
- })),
1068
- isClosed: _validatorPrimitives.tBoolean,
1069
- opener: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page']))
1070
- });
1071
- _validatorPrimitives.scheme.PageBindingCallEvent = (0, _validatorPrimitives.tObject)({
1072
- binding: (0, _validatorPrimitives.tChannel)(['BindingCall'])
1073
- });
1074
- _validatorPrimitives.scheme.PageCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1075
- _validatorPrimitives.scheme.PageCrashEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1076
- _validatorPrimitives.scheme.PageDownloadEvent = (0, _validatorPrimitives.tObject)({
1077
- url: _validatorPrimitives.tString,
1078
- suggestedFilename: _validatorPrimitives.tString,
1079
- artifact: (0, _validatorPrimitives.tChannel)(['Artifact'])
1080
- });
1081
- _validatorPrimitives.scheme.PageFileChooserEvent = (0, _validatorPrimitives.tObject)({
1082
- element: (0, _validatorPrimitives.tChannel)(['ElementHandle']),
1083
- isMultiple: _validatorPrimitives.tBoolean
1084
- });
1085
- _validatorPrimitives.scheme.PageFrameAttachedEvent = (0, _validatorPrimitives.tObject)({
1086
- frame: (0, _validatorPrimitives.tChannel)(['Frame'])
1087
- });
1088
- _validatorPrimitives.scheme.PageFrameDetachedEvent = (0, _validatorPrimitives.tObject)({
1089
- frame: (0, _validatorPrimitives.tChannel)(['Frame'])
1090
- });
1091
- _validatorPrimitives.scheme.PageLocatorHandlerTriggeredEvent = (0, _validatorPrimitives.tObject)({
1092
- uid: _validatorPrimitives.tNumber
1093
- });
1094
- _validatorPrimitives.scheme.PageRouteEvent = (0, _validatorPrimitives.tObject)({
1095
- route: (0, _validatorPrimitives.tChannel)(['Route'])
1096
- });
1097
- _validatorPrimitives.scheme.PageVideoEvent = (0, _validatorPrimitives.tObject)({
1098
- artifact: (0, _validatorPrimitives.tChannel)(['Artifact'])
1099
- });
1100
- _validatorPrimitives.scheme.PageWebSocketEvent = (0, _validatorPrimitives.tObject)({
1101
- webSocket: (0, _validatorPrimitives.tChannel)(['WebSocket'])
1102
- });
1103
- _validatorPrimitives.scheme.PageWorkerEvent = (0, _validatorPrimitives.tObject)({
1104
- worker: (0, _validatorPrimitives.tChannel)(['Worker'])
1105
- });
1106
- _validatorPrimitives.scheme.PageSetDefaultNavigationTimeoutNoReplyParams = (0, _validatorPrimitives.tObject)({
1107
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1108
- });
1109
- _validatorPrimitives.scheme.PageSetDefaultNavigationTimeoutNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1110
- _validatorPrimitives.scheme.PageSetDefaultTimeoutNoReplyParams = (0, _validatorPrimitives.tObject)({
1111
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1112
- });
1113
- _validatorPrimitives.scheme.PageSetDefaultTimeoutNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1114
- _validatorPrimitives.scheme.PageAddInitScriptParams = (0, _validatorPrimitives.tObject)({
1115
- source: _validatorPrimitives.tString
1116
- });
1117
- _validatorPrimitives.scheme.PageAddInitScriptResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1118
- _validatorPrimitives.scheme.PageCloseParams = (0, _validatorPrimitives.tObject)({
1119
- runBeforeUnload: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1120
- reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1121
- });
1122
- _validatorPrimitives.scheme.PageCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1123
- _validatorPrimitives.scheme.PageEmulateMediaParams = (0, _validatorPrimitives.tObject)({
1124
- media: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['screen', 'print', 'no-override'])),
1125
- colorScheme: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['dark', 'light', 'no-preference', 'no-override'])),
1126
- reducedMotion: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['reduce', 'no-preference', 'no-override'])),
1127
- forcedColors: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['active', 'none', 'no-override']))
1128
- });
1129
- _validatorPrimitives.scheme.PageEmulateMediaResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1130
- _validatorPrimitives.scheme.PageExposeBindingParams = (0, _validatorPrimitives.tObject)({
1131
- name: _validatorPrimitives.tString,
1132
- needsHandle: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1133
- });
1134
- _validatorPrimitives.scheme.PageExposeBindingResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1135
- _validatorPrimitives.scheme.PageGoBackParams = (0, _validatorPrimitives.tObject)({
1136
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1137
- waitUntil: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent'))
1138
- });
1139
- _validatorPrimitives.scheme.PageGoBackResult = (0, _validatorPrimitives.tObject)({
1140
- response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response']))
1141
- });
1142
- _validatorPrimitives.scheme.PageGoForwardParams = (0, _validatorPrimitives.tObject)({
1143
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1144
- waitUntil: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent'))
1145
- });
1146
- _validatorPrimitives.scheme.PageGoForwardResult = (0, _validatorPrimitives.tObject)({
1147
- response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response']))
1148
- });
1149
- _validatorPrimitives.scheme.PageRegisterLocatorHandlerParams = (0, _validatorPrimitives.tObject)({
1150
- selector: _validatorPrimitives.tString,
1151
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1152
- });
1153
- _validatorPrimitives.scheme.PageRegisterLocatorHandlerResult = (0, _validatorPrimitives.tObject)({
1154
- uid: _validatorPrimitives.tNumber
1155
- });
1156
- _validatorPrimitives.scheme.PageResolveLocatorHandlerNoReplyParams = (0, _validatorPrimitives.tObject)({
1157
- uid: _validatorPrimitives.tNumber,
1158
- remove: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1159
- });
1160
- _validatorPrimitives.scheme.PageResolveLocatorHandlerNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1161
- _validatorPrimitives.scheme.PageUnregisterLocatorHandlerParams = (0, _validatorPrimitives.tObject)({
1162
- uid: _validatorPrimitives.tNumber
1163
- });
1164
- _validatorPrimitives.scheme.PageUnregisterLocatorHandlerResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1165
- _validatorPrimitives.scheme.PageReloadParams = (0, _validatorPrimitives.tObject)({
1166
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1167
- waitUntil: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent'))
1168
- });
1169
- _validatorPrimitives.scheme.PageReloadResult = (0, _validatorPrimitives.tObject)({
1170
- response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response']))
1171
- });
1172
- _validatorPrimitives.scheme.PageExpectScreenshotParams = (0, _validatorPrimitives.tObject)({
1173
- expected: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
1174
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1175
- isNot: _validatorPrimitives.tBoolean,
1176
- locator: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
1177
- frame: (0, _validatorPrimitives.tChannel)(['Frame']),
1178
- selector: _validatorPrimitives.tString
1179
- })),
1180
- comparator: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1181
- maxDiffPixels: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1182
- maxDiffPixelRatio: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1183
- threshold: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1184
- fullPage: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1185
- clip: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Rect')),
1186
- omitBackground: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1187
- caret: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['hide', 'initial'])),
1188
- animations: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['disabled', 'allow'])),
1189
- scale: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['css', 'device'])),
1190
- mask: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1191
- frame: (0, _validatorPrimitives.tChannel)(['Frame']),
1192
- selector: _validatorPrimitives.tString
1193
- }))),
1194
- maskColor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1195
- style: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1196
- });
1197
- _validatorPrimitives.scheme.PageExpectScreenshotResult = (0, _validatorPrimitives.tObject)({
1198
- diff: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
1199
- errorMessage: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1200
- actual: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
1201
- previous: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
1202
- log: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString))
1203
- });
1204
- _validatorPrimitives.scheme.PageScreenshotParams = (0, _validatorPrimitives.tObject)({
1205
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1206
- type: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['png', 'jpeg'])),
1207
- quality: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1208
- fullPage: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1209
- clip: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Rect')),
1210
- omitBackground: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1211
- caret: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['hide', 'initial'])),
1212
- animations: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['disabled', 'allow'])),
1213
- scale: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['css', 'device'])),
1214
- mask: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1215
- frame: (0, _validatorPrimitives.tChannel)(['Frame']),
1216
- selector: _validatorPrimitives.tString
1217
- }))),
1218
- maskColor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1219
- style: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1220
- });
1221
- _validatorPrimitives.scheme.PageScreenshotResult = (0, _validatorPrimitives.tObject)({
1222
- binary: _validatorPrimitives.tBinary
1223
- });
1224
- _validatorPrimitives.scheme.PageSetExtraHTTPHeadersParams = (0, _validatorPrimitives.tObject)({
1225
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
1226
- });
1227
- _validatorPrimitives.scheme.PageSetExtraHTTPHeadersResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1228
- _validatorPrimitives.scheme.PageSetNetworkInterceptionPatternsParams = (0, _validatorPrimitives.tObject)({
1229
- patterns: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1230
- glob: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1231
- regexSource: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1232
- regexFlags: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1233
- }))
1234
- });
1235
- _validatorPrimitives.scheme.PageSetNetworkInterceptionPatternsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1236
- _validatorPrimitives.scheme.PageSetViewportSizeParams = (0, _validatorPrimitives.tObject)({
1237
- viewportSize: (0, _validatorPrimitives.tObject)({
1238
- width: _validatorPrimitives.tNumber,
1239
- height: _validatorPrimitives.tNumber
1240
- })
1241
- });
1242
- _validatorPrimitives.scheme.PageSetViewportSizeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1243
- _validatorPrimitives.scheme.PageKeyboardDownParams = (0, _validatorPrimitives.tObject)({
1244
- key: _validatorPrimitives.tString
1245
- });
1246
- _validatorPrimitives.scheme.PageKeyboardDownResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1247
- _validatorPrimitives.scheme.PageKeyboardUpParams = (0, _validatorPrimitives.tObject)({
1248
- key: _validatorPrimitives.tString
1249
- });
1250
- _validatorPrimitives.scheme.PageKeyboardUpResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1251
- _validatorPrimitives.scheme.PageKeyboardInsertTextParams = (0, _validatorPrimitives.tObject)({
1252
- text: _validatorPrimitives.tString
1253
- });
1254
- _validatorPrimitives.scheme.PageKeyboardInsertTextResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1255
- _validatorPrimitives.scheme.PageKeyboardTypeParams = (0, _validatorPrimitives.tObject)({
1256
- text: _validatorPrimitives.tString,
1257
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1258
- });
1259
- _validatorPrimitives.scheme.PageKeyboardTypeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1260
- _validatorPrimitives.scheme.PageKeyboardPressParams = (0, _validatorPrimitives.tObject)({
1261
- key: _validatorPrimitives.tString,
1262
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1263
- });
1264
- _validatorPrimitives.scheme.PageKeyboardPressResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1265
- _validatorPrimitives.scheme.PageMouseMoveParams = (0, _validatorPrimitives.tObject)({
1266
- x: _validatorPrimitives.tNumber,
1267
- y: _validatorPrimitives.tNumber,
1268
- steps: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1269
- });
1270
- _validatorPrimitives.scheme.PageMouseMoveResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1271
- _validatorPrimitives.scheme.PageMouseDownParams = (0, _validatorPrimitives.tObject)({
1272
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1273
- clickCount: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1274
- });
1275
- _validatorPrimitives.scheme.PageMouseDownResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1276
- _validatorPrimitives.scheme.PageMouseUpParams = (0, _validatorPrimitives.tObject)({
1277
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1278
- clickCount: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1279
- });
1280
- _validatorPrimitives.scheme.PageMouseUpResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1281
- _validatorPrimitives.scheme.PageMouseClickParams = (0, _validatorPrimitives.tObject)({
1282
- x: _validatorPrimitives.tNumber,
1283
- y: _validatorPrimitives.tNumber,
1284
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1285
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1286
- clickCount: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1287
- });
1288
- _validatorPrimitives.scheme.PageMouseClickResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1289
- _validatorPrimitives.scheme.PageMouseWheelParams = (0, _validatorPrimitives.tObject)({
1290
- deltaX: _validatorPrimitives.tNumber,
1291
- deltaY: _validatorPrimitives.tNumber
1292
- });
1293
- _validatorPrimitives.scheme.PageMouseWheelResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1294
- _validatorPrimitives.scheme.PageTouchscreenTapParams = (0, _validatorPrimitives.tObject)({
1295
- x: _validatorPrimitives.tNumber,
1296
- y: _validatorPrimitives.tNumber
1297
- });
1298
- _validatorPrimitives.scheme.PageTouchscreenTapResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1299
- _validatorPrimitives.scheme.PageAccessibilitySnapshotParams = (0, _validatorPrimitives.tObject)({
1300
- interestingOnly: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1301
- root: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
1302
- });
1303
- _validatorPrimitives.scheme.PageAccessibilitySnapshotResult = (0, _validatorPrimitives.tObject)({
1304
- rootAXNode: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('AXNode'))
1305
- });
1306
- _validatorPrimitives.scheme.PagePdfParams = (0, _validatorPrimitives.tObject)({
1307
- scale: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1308
- displayHeaderFooter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1309
- headerTemplate: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1310
- footerTemplate: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1311
- printBackground: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1312
- landscape: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1313
- pageRanges: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1314
- format: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1315
- width: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1316
- height: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1317
- preferCSSPageSize: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1318
- margin: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
1319
- top: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1320
- bottom: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1321
- left: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1322
- right: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1323
- })),
1324
- tagged: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1325
- outline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1326
- });
1327
- _validatorPrimitives.scheme.PagePdfResult = (0, _validatorPrimitives.tObject)({
1328
- pdf: _validatorPrimitives.tBinary
1329
- });
1330
- _validatorPrimitives.scheme.PageStartJSCoverageParams = (0, _validatorPrimitives.tObject)({
1331
- resetOnNavigation: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1332
- reportAnonymousScripts: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1333
- });
1334
- _validatorPrimitives.scheme.PageStartJSCoverageResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1335
- _validatorPrimitives.scheme.PageStopJSCoverageParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1336
- _validatorPrimitives.scheme.PageStopJSCoverageResult = (0, _validatorPrimitives.tObject)({
1337
- entries: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1338
- url: _validatorPrimitives.tString,
1339
- scriptId: _validatorPrimitives.tString,
1340
- source: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1341
- functions: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1342
- functionName: _validatorPrimitives.tString,
1343
- isBlockCoverage: _validatorPrimitives.tBoolean,
1344
- ranges: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1345
- startOffset: _validatorPrimitives.tNumber,
1346
- endOffset: _validatorPrimitives.tNumber,
1347
- count: _validatorPrimitives.tNumber
1348
- }))
1349
- }))
1350
- }))
1351
- });
1352
- _validatorPrimitives.scheme.PageStartCSSCoverageParams = (0, _validatorPrimitives.tObject)({
1353
- resetOnNavigation: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1354
- });
1355
- _validatorPrimitives.scheme.PageStartCSSCoverageResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1356
- _validatorPrimitives.scheme.PageStopCSSCoverageParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1357
- _validatorPrimitives.scheme.PageStopCSSCoverageResult = (0, _validatorPrimitives.tObject)({
1358
- entries: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1359
- url: _validatorPrimitives.tString,
1360
- text: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1361
- ranges: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1362
- start: _validatorPrimitives.tNumber,
1363
- end: _validatorPrimitives.tNumber
1364
- }))
1365
- }))
1366
- });
1367
- _validatorPrimitives.scheme.PageBringToFrontParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1368
- _validatorPrimitives.scheme.PageBringToFrontResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1369
- _validatorPrimitives.scheme.PageUpdateSubscriptionParams = (0, _validatorPrimitives.tObject)({
1370
- event: (0, _validatorPrimitives.tEnum)(['console', 'dialog', 'fileChooser', 'request', 'response', 'requestFinished', 'requestFailed']),
1371
- enabled: _validatorPrimitives.tBoolean
1372
- });
1373
- _validatorPrimitives.scheme.PageUpdateSubscriptionResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1374
- _validatorPrimitives.scheme.FrameInitializer = (0, _validatorPrimitives.tObject)({
1375
- url: _validatorPrimitives.tString,
1376
- name: _validatorPrimitives.tString,
1377
- parentFrame: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Frame'])),
1378
- loadStates: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('LifecycleEvent'))
1379
- });
1380
- _validatorPrimitives.scheme.FrameLoadstateEvent = (0, _validatorPrimitives.tObject)({
1381
- add: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent')),
1382
- remove: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent'))
1383
- });
1384
- _validatorPrimitives.scheme.FrameNavigatedEvent = (0, _validatorPrimitives.tObject)({
1385
- url: _validatorPrimitives.tString,
1386
- name: _validatorPrimitives.tString,
1387
- newDocument: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
1388
- request: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Request']))
1389
- })),
1390
- error: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1391
- });
1392
- _validatorPrimitives.scheme.FrameEvalOnSelectorParams = (0, _validatorPrimitives.tObject)({
1393
- selector: _validatorPrimitives.tString,
1394
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1395
- expression: _validatorPrimitives.tString,
1396
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1397
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1398
- });
1399
- _validatorPrimitives.scheme.FrameEvalOnSelectorResult = (0, _validatorPrimitives.tObject)({
1400
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1401
- });
1402
- _validatorPrimitives.scheme.FrameEvalOnSelectorAllParams = (0, _validatorPrimitives.tObject)({
1403
- selector: _validatorPrimitives.tString,
1404
- expression: _validatorPrimitives.tString,
1405
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1406
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1407
- });
1408
- _validatorPrimitives.scheme.FrameEvalOnSelectorAllResult = (0, _validatorPrimitives.tObject)({
1409
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1410
- });
1411
- _validatorPrimitives.scheme.FrameAddScriptTagParams = (0, _validatorPrimitives.tObject)({
1412
- url: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1413
- content: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1414
- type: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1415
- });
1416
- _validatorPrimitives.scheme.FrameAddScriptTagResult = (0, _validatorPrimitives.tObject)({
1417
- element: (0, _validatorPrimitives.tChannel)(['ElementHandle'])
1418
- });
1419
- _validatorPrimitives.scheme.FrameAddStyleTagParams = (0, _validatorPrimitives.tObject)({
1420
- url: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1421
- content: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1422
- });
1423
- _validatorPrimitives.scheme.FrameAddStyleTagResult = (0, _validatorPrimitives.tObject)({
1424
- element: (0, _validatorPrimitives.tChannel)(['ElementHandle'])
1425
- });
1426
- _validatorPrimitives.scheme.FrameBlurParams = (0, _validatorPrimitives.tObject)({
1427
- selector: _validatorPrimitives.tString,
1428
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1429
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1430
- });
1431
- _validatorPrimitives.scheme.FrameBlurResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1432
- _validatorPrimitives.scheme.FrameCheckParams = (0, _validatorPrimitives.tObject)({
1433
- selector: _validatorPrimitives.tString,
1434
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1435
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1436
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1437
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1438
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1439
- });
1440
- _validatorPrimitives.scheme.FrameCheckResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1441
- _validatorPrimitives.scheme.FrameClickParams = (0, _validatorPrimitives.tObject)({
1442
- selector: _validatorPrimitives.tString,
1443
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1444
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1445
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1446
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1447
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1448
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1449
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1450
- clickCount: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1451
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1452
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1453
- });
1454
- _validatorPrimitives.scheme.FrameClickResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1455
- _validatorPrimitives.scheme.FrameContentParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1456
- _validatorPrimitives.scheme.FrameContentResult = (0, _validatorPrimitives.tObject)({
1457
- value: _validatorPrimitives.tString
1458
- });
1459
- _validatorPrimitives.scheme.FrameDragAndDropParams = (0, _validatorPrimitives.tObject)({
1460
- source: _validatorPrimitives.tString,
1461
- target: _validatorPrimitives.tString,
1462
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1463
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1464
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1465
- sourcePosition: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1466
- targetPosition: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1467
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1468
- });
1469
- _validatorPrimitives.scheme.FrameDragAndDropResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1470
- _validatorPrimitives.scheme.FrameDblclickParams = (0, _validatorPrimitives.tObject)({
1471
- selector: _validatorPrimitives.tString,
1472
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1473
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1474
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1475
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1476
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1477
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1478
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1479
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1480
- });
1481
- _validatorPrimitives.scheme.FrameDblclickResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1482
- _validatorPrimitives.scheme.FrameDispatchEventParams = (0, _validatorPrimitives.tObject)({
1483
- selector: _validatorPrimitives.tString,
1484
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1485
- type: _validatorPrimitives.tString,
1486
- eventInit: (0, _validatorPrimitives.tType)('SerializedArgument'),
1487
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1488
- });
1489
- _validatorPrimitives.scheme.FrameDispatchEventResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1490
- _validatorPrimitives.scheme.FrameEvaluateExpressionParams = (0, _validatorPrimitives.tObject)({
1491
- expression: _validatorPrimitives.tString,
1492
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1493
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1494
- });
1495
- _validatorPrimitives.scheme.FrameEvaluateExpressionResult = (0, _validatorPrimitives.tObject)({
1496
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1497
- });
1498
- _validatorPrimitives.scheme.FrameEvaluateExpressionHandleParams = (0, _validatorPrimitives.tObject)({
1499
- expression: _validatorPrimitives.tString,
1500
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1501
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1502
- });
1503
- _validatorPrimitives.scheme.FrameEvaluateExpressionHandleResult = (0, _validatorPrimitives.tObject)({
1504
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
1505
- });
1506
- _validatorPrimitives.scheme.FrameFillParams = (0, _validatorPrimitives.tObject)({
1507
- selector: _validatorPrimitives.tString,
1508
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1509
- value: _validatorPrimitives.tString,
1510
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1511
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1512
- });
1513
- _validatorPrimitives.scheme.FrameFillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1514
- _validatorPrimitives.scheme.FrameFocusParams = (0, _validatorPrimitives.tObject)({
1515
- selector: _validatorPrimitives.tString,
1516
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1517
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1518
- });
1519
- _validatorPrimitives.scheme.FrameFocusResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1520
- _validatorPrimitives.scheme.FrameFrameElementParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1521
- _validatorPrimitives.scheme.FrameFrameElementResult = (0, _validatorPrimitives.tObject)({
1522
- element: (0, _validatorPrimitives.tChannel)(['ElementHandle'])
1523
- });
1524
- _validatorPrimitives.scheme.FrameHighlightParams = (0, _validatorPrimitives.tObject)({
1525
- selector: _validatorPrimitives.tString
1526
- });
1527
- _validatorPrimitives.scheme.FrameHighlightResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1528
- _validatorPrimitives.scheme.FrameGetAttributeParams = (0, _validatorPrimitives.tObject)({
1529
- selector: _validatorPrimitives.tString,
1530
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1531
- name: _validatorPrimitives.tString,
1532
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1533
- });
1534
- _validatorPrimitives.scheme.FrameGetAttributeResult = (0, _validatorPrimitives.tObject)({
1535
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1536
- });
1537
- _validatorPrimitives.scheme.FrameGotoParams = (0, _validatorPrimitives.tObject)({
1538
- url: _validatorPrimitives.tString,
1539
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1540
- waitUntil: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent')),
1541
- referer: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1542
- });
1543
- _validatorPrimitives.scheme.FrameGotoResult = (0, _validatorPrimitives.tObject)({
1544
- response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response']))
1545
- });
1546
- _validatorPrimitives.scheme.FrameHoverParams = (0, _validatorPrimitives.tObject)({
1547
- selector: _validatorPrimitives.tString,
1548
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1549
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1550
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1551
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1552
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1553
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1554
- });
1555
- _validatorPrimitives.scheme.FrameHoverResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1556
- _validatorPrimitives.scheme.FrameInnerHTMLParams = (0, _validatorPrimitives.tObject)({
1557
- selector: _validatorPrimitives.tString,
1558
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1559
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1560
- });
1561
- _validatorPrimitives.scheme.FrameInnerHTMLResult = (0, _validatorPrimitives.tObject)({
1562
- value: _validatorPrimitives.tString
1563
- });
1564
- _validatorPrimitives.scheme.FrameInnerTextParams = (0, _validatorPrimitives.tObject)({
1565
- selector: _validatorPrimitives.tString,
1566
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1567
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1568
- });
1569
- _validatorPrimitives.scheme.FrameInnerTextResult = (0, _validatorPrimitives.tObject)({
1570
- value: _validatorPrimitives.tString
1571
- });
1572
- _validatorPrimitives.scheme.FrameInputValueParams = (0, _validatorPrimitives.tObject)({
1573
- selector: _validatorPrimitives.tString,
1574
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1575
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1576
- });
1577
- _validatorPrimitives.scheme.FrameInputValueResult = (0, _validatorPrimitives.tObject)({
1578
- value: _validatorPrimitives.tString
1579
- });
1580
- _validatorPrimitives.scheme.FrameIsCheckedParams = (0, _validatorPrimitives.tObject)({
1581
- selector: _validatorPrimitives.tString,
1582
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1583
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1584
- });
1585
- _validatorPrimitives.scheme.FrameIsCheckedResult = (0, _validatorPrimitives.tObject)({
1586
- value: _validatorPrimitives.tBoolean
1587
- });
1588
- _validatorPrimitives.scheme.FrameIsDisabledParams = (0, _validatorPrimitives.tObject)({
1589
- selector: _validatorPrimitives.tString,
1590
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1591
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1592
- });
1593
- _validatorPrimitives.scheme.FrameIsDisabledResult = (0, _validatorPrimitives.tObject)({
1594
- value: _validatorPrimitives.tBoolean
1595
- });
1596
- _validatorPrimitives.scheme.FrameIsEnabledParams = (0, _validatorPrimitives.tObject)({
1597
- selector: _validatorPrimitives.tString,
1598
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1599
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1600
- });
1601
- _validatorPrimitives.scheme.FrameIsEnabledResult = (0, _validatorPrimitives.tObject)({
1602
- value: _validatorPrimitives.tBoolean
1603
- });
1604
- _validatorPrimitives.scheme.FrameIsHiddenParams = (0, _validatorPrimitives.tObject)({
1605
- selector: _validatorPrimitives.tString,
1606
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1607
- });
1608
- _validatorPrimitives.scheme.FrameIsHiddenResult = (0, _validatorPrimitives.tObject)({
1609
- value: _validatorPrimitives.tBoolean
1610
- });
1611
- _validatorPrimitives.scheme.FrameIsVisibleParams = (0, _validatorPrimitives.tObject)({
1612
- selector: _validatorPrimitives.tString,
1613
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1614
- });
1615
- _validatorPrimitives.scheme.FrameIsVisibleResult = (0, _validatorPrimitives.tObject)({
1616
- value: _validatorPrimitives.tBoolean
1617
- });
1618
- _validatorPrimitives.scheme.FrameIsEditableParams = (0, _validatorPrimitives.tObject)({
1619
- selector: _validatorPrimitives.tString,
1620
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1621
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1622
- });
1623
- _validatorPrimitives.scheme.FrameIsEditableResult = (0, _validatorPrimitives.tObject)({
1624
- value: _validatorPrimitives.tBoolean
1625
- });
1626
- _validatorPrimitives.scheme.FramePressParams = (0, _validatorPrimitives.tObject)({
1627
- selector: _validatorPrimitives.tString,
1628
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1629
- key: _validatorPrimitives.tString,
1630
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1631
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1632
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1633
- });
1634
- _validatorPrimitives.scheme.FramePressResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1635
- _validatorPrimitives.scheme.FrameQuerySelectorParams = (0, _validatorPrimitives.tObject)({
1636
- selector: _validatorPrimitives.tString,
1637
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1638
- });
1639
- _validatorPrimitives.scheme.FrameQuerySelectorResult = (0, _validatorPrimitives.tObject)({
1640
- element: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
1641
- });
1642
- _validatorPrimitives.scheme.FrameQuerySelectorAllParams = (0, _validatorPrimitives.tObject)({
1643
- selector: _validatorPrimitives.tString
1644
- });
1645
- _validatorPrimitives.scheme.FrameQuerySelectorAllResult = (0, _validatorPrimitives.tObject)({
1646
- elements: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
1647
- });
1648
- _validatorPrimitives.scheme.FrameQueryCountParams = (0, _validatorPrimitives.tObject)({
1649
- selector: _validatorPrimitives.tString
1650
- });
1651
- _validatorPrimitives.scheme.FrameQueryCountResult = (0, _validatorPrimitives.tObject)({
1652
- value: _validatorPrimitives.tNumber
1653
- });
1654
- _validatorPrimitives.scheme.FrameSelectOptionParams = (0, _validatorPrimitives.tObject)({
1655
- selector: _validatorPrimitives.tString,
1656
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1657
- elements: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['ElementHandle']))),
1658
- options: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1659
- valueOrLabel: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1660
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1661
- label: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1662
- index: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1663
- }))),
1664
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1665
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1666
- });
1667
- _validatorPrimitives.scheme.FrameSelectOptionResult = (0, _validatorPrimitives.tObject)({
1668
- values: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)
1669
- });
1670
- _validatorPrimitives.scheme.FrameSetContentParams = (0, _validatorPrimitives.tObject)({
1671
- html: _validatorPrimitives.tString,
1672
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1673
- waitUntil: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('LifecycleEvent'))
1674
- });
1675
- _validatorPrimitives.scheme.FrameSetContentResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1676
- _validatorPrimitives.scheme.FrameSetInputFilesParams = (0, _validatorPrimitives.tObject)({
1677
- selector: _validatorPrimitives.tString,
1678
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1679
- payloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1680
- name: _validatorPrimitives.tString,
1681
- mimeType: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1682
- buffer: _validatorPrimitives.tBinary
1683
- }))),
1684
- localDirectory: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
1685
- directoryStream: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['WritableStream'])),
1686
- localPaths: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
1687
- streams: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['WritableStream']))),
1688
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1689
- });
1690
- _validatorPrimitives.scheme.FrameSetInputFilesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1691
- _validatorPrimitives.scheme.FrameTapParams = (0, _validatorPrimitives.tObject)({
1692
- selector: _validatorPrimitives.tString,
1693
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1694
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1695
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1696
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1697
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1698
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1699
- });
1700
- _validatorPrimitives.scheme.FrameTapResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1701
- _validatorPrimitives.scheme.FrameTextContentParams = (0, _validatorPrimitives.tObject)({
1702
- selector: _validatorPrimitives.tString,
1703
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1704
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1705
- });
1706
- _validatorPrimitives.scheme.FrameTextContentResult = (0, _validatorPrimitives.tObject)({
1707
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1708
- });
1709
- _validatorPrimitives.scheme.FrameTitleParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1710
- _validatorPrimitives.scheme.FrameTitleResult = (0, _validatorPrimitives.tObject)({
1711
- value: _validatorPrimitives.tString
1712
- });
1713
- _validatorPrimitives.scheme.FrameTypeParams = (0, _validatorPrimitives.tObject)({
1714
- selector: _validatorPrimitives.tString,
1715
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1716
- text: _validatorPrimitives.tString,
1717
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1718
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1719
- });
1720
- _validatorPrimitives.scheme.FrameTypeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1721
- _validatorPrimitives.scheme.FrameUncheckParams = (0, _validatorPrimitives.tObject)({
1722
- selector: _validatorPrimitives.tString,
1723
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1724
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1725
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1726
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1727
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1728
- });
1729
- _validatorPrimitives.scheme.FrameUncheckResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1730
- _validatorPrimitives.scheme.FrameWaitForTimeoutParams = (0, _validatorPrimitives.tObject)({
1731
- timeout: _validatorPrimitives.tNumber
1732
- });
1733
- _validatorPrimitives.scheme.FrameWaitForTimeoutResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1734
- _validatorPrimitives.scheme.FrameWaitForFunctionParams = (0, _validatorPrimitives.tObject)({
1735
- expression: _validatorPrimitives.tString,
1736
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1737
- arg: (0, _validatorPrimitives.tType)('SerializedArgument'),
1738
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1739
- pollingInterval: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1740
- });
1741
- _validatorPrimitives.scheme.FrameWaitForFunctionResult = (0, _validatorPrimitives.tObject)({
1742
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
1743
- });
1744
- _validatorPrimitives.scheme.FrameWaitForSelectorParams = (0, _validatorPrimitives.tObject)({
1745
- selector: _validatorPrimitives.tString,
1746
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1747
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1748
- state: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['attached', 'detached', 'visible', 'hidden'])),
1749
- omitReturnValue: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1750
- });
1751
- _validatorPrimitives.scheme.FrameWaitForSelectorResult = (0, _validatorPrimitives.tObject)({
1752
- element: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
1753
- });
1754
- _validatorPrimitives.scheme.FrameExpectParams = (0, _validatorPrimitives.tObject)({
1755
- selector: _validatorPrimitives.tString,
1756
- expression: _validatorPrimitives.tString,
1757
- expressionArg: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny),
1758
- expectedText: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('ExpectedTextValue'))),
1759
- expectedNumber: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1760
- expectedValue: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('SerializedArgument')),
1761
- useInnerText: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1762
- isNot: _validatorPrimitives.tBoolean,
1763
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1764
- });
1765
- _validatorPrimitives.scheme.FrameExpectResult = (0, _validatorPrimitives.tObject)({
1766
- matches: _validatorPrimitives.tBoolean,
1767
- received: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('SerializedValue')),
1768
- timedOut: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1769
- log: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString))
1770
- });
1771
- _validatorPrimitives.scheme.WorkerInitializer = (0, _validatorPrimitives.tObject)({
1772
- url: _validatorPrimitives.tString
1773
- });
1774
- _validatorPrimitives.scheme.WorkerCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1775
- _validatorPrimitives.scheme.WorkerEvaluateExpressionParams = (0, _validatorPrimitives.tObject)({
1776
- expression: _validatorPrimitives.tString,
1777
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1778
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1779
- });
1780
- _validatorPrimitives.scheme.WorkerEvaluateExpressionResult = (0, _validatorPrimitives.tObject)({
1781
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1782
- });
1783
- _validatorPrimitives.scheme.WorkerEvaluateExpressionHandleParams = (0, _validatorPrimitives.tObject)({
1784
- expression: _validatorPrimitives.tString,
1785
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1786
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1787
- });
1788
- _validatorPrimitives.scheme.WorkerEvaluateExpressionHandleResult = (0, _validatorPrimitives.tObject)({
1789
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
1790
- });
1791
- _validatorPrimitives.scheme.JSHandleInitializer = (0, _validatorPrimitives.tObject)({
1792
- preview: _validatorPrimitives.tString
1793
- });
1794
- _validatorPrimitives.scheme.JSHandlePreviewUpdatedEvent = (0, _validatorPrimitives.tObject)({
1795
- preview: _validatorPrimitives.tString
1796
- });
1797
- _validatorPrimitives.scheme.ElementHandlePreviewUpdatedEvent = (0, _validatorPrimitives.tType)('JSHandlePreviewUpdatedEvent');
1798
- _validatorPrimitives.scheme.JSHandleDisposeParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1799
- _validatorPrimitives.scheme.ElementHandleDisposeParams = (0, _validatorPrimitives.tType)('JSHandleDisposeParams');
1800
- _validatorPrimitives.scheme.JSHandleDisposeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1801
- _validatorPrimitives.scheme.ElementHandleDisposeResult = (0, _validatorPrimitives.tType)('JSHandleDisposeResult');
1802
- _validatorPrimitives.scheme.JSHandleEvaluateExpressionParams = (0, _validatorPrimitives.tObject)({
1803
- expression: _validatorPrimitives.tString,
1804
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1805
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1806
- });
1807
- _validatorPrimitives.scheme.ElementHandleEvaluateExpressionParams = (0, _validatorPrimitives.tType)('JSHandleEvaluateExpressionParams');
1808
- _validatorPrimitives.scheme.JSHandleEvaluateExpressionResult = (0, _validatorPrimitives.tObject)({
1809
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1810
- });
1811
- _validatorPrimitives.scheme.ElementHandleEvaluateExpressionResult = (0, _validatorPrimitives.tType)('JSHandleEvaluateExpressionResult');
1812
- _validatorPrimitives.scheme.JSHandleEvaluateExpressionHandleParams = (0, _validatorPrimitives.tObject)({
1813
- expression: _validatorPrimitives.tString,
1814
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1815
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1816
- });
1817
- _validatorPrimitives.scheme.ElementHandleEvaluateExpressionHandleParams = (0, _validatorPrimitives.tType)('JSHandleEvaluateExpressionHandleParams');
1818
- _validatorPrimitives.scheme.JSHandleEvaluateExpressionHandleResult = (0, _validatorPrimitives.tObject)({
1819
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
1820
- });
1821
- _validatorPrimitives.scheme.ElementHandleEvaluateExpressionHandleResult = (0, _validatorPrimitives.tType)('JSHandleEvaluateExpressionHandleResult');
1822
- _validatorPrimitives.scheme.JSHandleGetPropertyListParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1823
- _validatorPrimitives.scheme.ElementHandleGetPropertyListParams = (0, _validatorPrimitives.tType)('JSHandleGetPropertyListParams');
1824
- _validatorPrimitives.scheme.JSHandleGetPropertyListResult = (0, _validatorPrimitives.tObject)({
1825
- properties: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
1826
- name: _validatorPrimitives.tString,
1827
- value: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
1828
- }))
1829
- });
1830
- _validatorPrimitives.scheme.ElementHandleGetPropertyListResult = (0, _validatorPrimitives.tType)('JSHandleGetPropertyListResult');
1831
- _validatorPrimitives.scheme.JSHandleGetPropertyParams = (0, _validatorPrimitives.tObject)({
1832
- name: _validatorPrimitives.tString
1833
- });
1834
- _validatorPrimitives.scheme.ElementHandleGetPropertyParams = (0, _validatorPrimitives.tType)('JSHandleGetPropertyParams');
1835
- _validatorPrimitives.scheme.JSHandleGetPropertyResult = (0, _validatorPrimitives.tObject)({
1836
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
1837
- });
1838
- _validatorPrimitives.scheme.ElementHandleGetPropertyResult = (0, _validatorPrimitives.tType)('JSHandleGetPropertyResult');
1839
- _validatorPrimitives.scheme.JSHandleJsonValueParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1840
- _validatorPrimitives.scheme.ElementHandleJsonValueParams = (0, _validatorPrimitives.tType)('JSHandleJsonValueParams');
1841
- _validatorPrimitives.scheme.JSHandleJsonValueResult = (0, _validatorPrimitives.tObject)({
1842
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1843
- });
1844
- _validatorPrimitives.scheme.ElementHandleJsonValueResult = (0, _validatorPrimitives.tType)('JSHandleJsonValueResult');
1845
- _validatorPrimitives.scheme.JSHandleObjectCountParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1846
- _validatorPrimitives.scheme.ElementHandleObjectCountParams = (0, _validatorPrimitives.tType)('JSHandleObjectCountParams');
1847
- _validatorPrimitives.scheme.JSHandleObjectCountResult = (0, _validatorPrimitives.tObject)({
1848
- count: _validatorPrimitives.tNumber
1849
- });
1850
- _validatorPrimitives.scheme.ElementHandleObjectCountResult = (0, _validatorPrimitives.tType)('JSHandleObjectCountResult');
1851
- _validatorPrimitives.scheme.ElementHandleInitializer = (0, _validatorPrimitives.tObject)({
1852
- preview: _validatorPrimitives.tString
1853
- });
1854
- _validatorPrimitives.scheme.ElementHandleEvalOnSelectorParams = (0, _validatorPrimitives.tObject)({
1855
- selector: _validatorPrimitives.tString,
1856
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1857
- expression: _validatorPrimitives.tString,
1858
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1859
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1860
- });
1861
- _validatorPrimitives.scheme.ElementHandleEvalOnSelectorResult = (0, _validatorPrimitives.tObject)({
1862
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1863
- });
1864
- _validatorPrimitives.scheme.ElementHandleEvalOnSelectorAllParams = (0, _validatorPrimitives.tObject)({
1865
- selector: _validatorPrimitives.tString,
1866
- expression: _validatorPrimitives.tString,
1867
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1868
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
1869
- });
1870
- _validatorPrimitives.scheme.ElementHandleEvalOnSelectorAllResult = (0, _validatorPrimitives.tObject)({
1871
- value: (0, _validatorPrimitives.tType)('SerializedValue')
1872
- });
1873
- _validatorPrimitives.scheme.ElementHandleBoundingBoxParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1874
- _validatorPrimitives.scheme.ElementHandleBoundingBoxResult = (0, _validatorPrimitives.tObject)({
1875
- value: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Rect'))
1876
- });
1877
- _validatorPrimitives.scheme.ElementHandleCheckParams = (0, _validatorPrimitives.tObject)({
1878
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1879
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1880
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1881
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1882
- });
1883
- _validatorPrimitives.scheme.ElementHandleCheckResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1884
- _validatorPrimitives.scheme.ElementHandleClickParams = (0, _validatorPrimitives.tObject)({
1885
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1886
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1887
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1888
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1889
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1890
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1891
- clickCount: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1892
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1893
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1894
- });
1895
- _validatorPrimitives.scheme.ElementHandleClickResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1896
- _validatorPrimitives.scheme.ElementHandleContentFrameParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1897
- _validatorPrimitives.scheme.ElementHandleContentFrameResult = (0, _validatorPrimitives.tObject)({
1898
- frame: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Frame']))
1899
- });
1900
- _validatorPrimitives.scheme.ElementHandleDblclickParams = (0, _validatorPrimitives.tObject)({
1901
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1902
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1903
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1904
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1905
- button: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['left', 'right', 'middle'])),
1906
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1907
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1908
- });
1909
- _validatorPrimitives.scheme.ElementHandleDblclickResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1910
- _validatorPrimitives.scheme.ElementHandleDispatchEventParams = (0, _validatorPrimitives.tObject)({
1911
- type: _validatorPrimitives.tString,
1912
- eventInit: (0, _validatorPrimitives.tType)('SerializedArgument')
1913
- });
1914
- _validatorPrimitives.scheme.ElementHandleDispatchEventResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1915
- _validatorPrimitives.scheme.ElementHandleFillParams = (0, _validatorPrimitives.tObject)({
1916
- value: _validatorPrimitives.tString,
1917
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1918
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
1919
- });
1920
- _validatorPrimitives.scheme.ElementHandleFillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1921
- _validatorPrimitives.scheme.ElementHandleFocusParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1922
- _validatorPrimitives.scheme.ElementHandleFocusResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1923
- _validatorPrimitives.scheme.ElementHandleGetAttributeParams = (0, _validatorPrimitives.tObject)({
1924
- name: _validatorPrimitives.tString
1925
- });
1926
- _validatorPrimitives.scheme.ElementHandleGetAttributeResult = (0, _validatorPrimitives.tObject)({
1927
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
1928
- });
1929
- _validatorPrimitives.scheme.ElementHandleHoverParams = (0, _validatorPrimitives.tObject)({
1930
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
1931
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
1932
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
1933
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1934
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1935
- });
1936
- _validatorPrimitives.scheme.ElementHandleHoverResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1937
- _validatorPrimitives.scheme.ElementHandleInnerHTMLParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1938
- _validatorPrimitives.scheme.ElementHandleInnerHTMLResult = (0, _validatorPrimitives.tObject)({
1939
- value: _validatorPrimitives.tString
1940
- });
1941
- _validatorPrimitives.scheme.ElementHandleInnerTextParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1942
- _validatorPrimitives.scheme.ElementHandleInnerTextResult = (0, _validatorPrimitives.tObject)({
1943
- value: _validatorPrimitives.tString
1944
- });
1945
- _validatorPrimitives.scheme.ElementHandleInputValueParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1946
- _validatorPrimitives.scheme.ElementHandleInputValueResult = (0, _validatorPrimitives.tObject)({
1947
- value: _validatorPrimitives.tString
1948
- });
1949
- _validatorPrimitives.scheme.ElementHandleIsCheckedParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1950
- _validatorPrimitives.scheme.ElementHandleIsCheckedResult = (0, _validatorPrimitives.tObject)({
1951
- value: _validatorPrimitives.tBoolean
1952
- });
1953
- _validatorPrimitives.scheme.ElementHandleIsDisabledParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1954
- _validatorPrimitives.scheme.ElementHandleIsDisabledResult = (0, _validatorPrimitives.tObject)({
1955
- value: _validatorPrimitives.tBoolean
1956
- });
1957
- _validatorPrimitives.scheme.ElementHandleIsEditableParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1958
- _validatorPrimitives.scheme.ElementHandleIsEditableResult = (0, _validatorPrimitives.tObject)({
1959
- value: _validatorPrimitives.tBoolean
1960
- });
1961
- _validatorPrimitives.scheme.ElementHandleIsEnabledParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1962
- _validatorPrimitives.scheme.ElementHandleIsEnabledResult = (0, _validatorPrimitives.tObject)({
1963
- value: _validatorPrimitives.tBoolean
1964
- });
1965
- _validatorPrimitives.scheme.ElementHandleIsHiddenParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1966
- _validatorPrimitives.scheme.ElementHandleIsHiddenResult = (0, _validatorPrimitives.tObject)({
1967
- value: _validatorPrimitives.tBoolean
1968
- });
1969
- _validatorPrimitives.scheme.ElementHandleIsVisibleParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1970
- _validatorPrimitives.scheme.ElementHandleIsVisibleResult = (0, _validatorPrimitives.tObject)({
1971
- value: _validatorPrimitives.tBoolean
1972
- });
1973
- _validatorPrimitives.scheme.ElementHandleOwnerFrameParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1974
- _validatorPrimitives.scheme.ElementHandleOwnerFrameResult = (0, _validatorPrimitives.tObject)({
1975
- frame: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Frame']))
1976
- });
1977
- _validatorPrimitives.scheme.ElementHandlePressParams = (0, _validatorPrimitives.tObject)({
1978
- key: _validatorPrimitives.tString,
1979
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1980
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1981
- noWaitAfter: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1982
- });
1983
- _validatorPrimitives.scheme.ElementHandlePressResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
1984
- _validatorPrimitives.scheme.ElementHandleQuerySelectorParams = (0, _validatorPrimitives.tObject)({
1985
- selector: _validatorPrimitives.tString,
1986
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
1987
- });
1988
- _validatorPrimitives.scheme.ElementHandleQuerySelectorResult = (0, _validatorPrimitives.tObject)({
1989
- element: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
1990
- });
1991
- _validatorPrimitives.scheme.ElementHandleQuerySelectorAllParams = (0, _validatorPrimitives.tObject)({
1992
- selector: _validatorPrimitives.tString
1993
- });
1994
- _validatorPrimitives.scheme.ElementHandleQuerySelectorAllResult = (0, _validatorPrimitives.tObject)({
1995
- elements: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
1996
- });
1997
- _validatorPrimitives.scheme.ElementHandleScreenshotParams = (0, _validatorPrimitives.tObject)({
1998
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
1999
- type: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['png', 'jpeg'])),
2000
- quality: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2001
- omitBackground: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2002
- caret: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['hide', 'initial'])),
2003
- animations: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['disabled', 'allow'])),
2004
- scale: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['css', 'device'])),
2005
- mask: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
2006
- frame: (0, _validatorPrimitives.tChannel)(['Frame']),
2007
- selector: _validatorPrimitives.tString
2008
- }))),
2009
- maskColor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2010
- style: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2011
- });
2012
- _validatorPrimitives.scheme.ElementHandleScreenshotResult = (0, _validatorPrimitives.tObject)({
2013
- binary: _validatorPrimitives.tBinary
2014
- });
2015
- _validatorPrimitives.scheme.ElementHandleScrollIntoViewIfNeededParams = (0, _validatorPrimitives.tObject)({
2016
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2017
- });
2018
- _validatorPrimitives.scheme.ElementHandleScrollIntoViewIfNeededResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2019
- _validatorPrimitives.scheme.ElementHandleSelectOptionParams = (0, _validatorPrimitives.tObject)({
2020
- elements: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['ElementHandle']))),
2021
- options: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
2022
- valueOrLabel: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2023
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2024
- label: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2025
- index: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2026
- }))),
2027
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2028
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2029
- });
2030
- _validatorPrimitives.scheme.ElementHandleSelectOptionResult = (0, _validatorPrimitives.tObject)({
2031
- values: (0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)
2032
- });
2033
- _validatorPrimitives.scheme.ElementHandleSelectTextParams = (0, _validatorPrimitives.tObject)({
2034
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2035
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2036
- });
2037
- _validatorPrimitives.scheme.ElementHandleSelectTextResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2038
- _validatorPrimitives.scheme.ElementHandleSetInputFilesParams = (0, _validatorPrimitives.tObject)({
2039
- payloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
2040
- name: _validatorPrimitives.tString,
2041
- mimeType: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2042
- buffer: _validatorPrimitives.tBinary
2043
- }))),
2044
- localDirectory: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2045
- directoryStream: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['WritableStream'])),
2046
- localPaths: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
2047
- streams: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['WritableStream']))),
2048
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2049
- });
2050
- _validatorPrimitives.scheme.ElementHandleSetInputFilesResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2051
- _validatorPrimitives.scheme.ElementHandleTapParams = (0, _validatorPrimitives.tObject)({
2052
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2053
- modifiers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tEnum)(['Alt', 'Control', 'ControlOrMeta', 'Meta', 'Shift']))),
2054
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
2055
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2056
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
2057
- });
2058
- _validatorPrimitives.scheme.ElementHandleTapResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2059
- _validatorPrimitives.scheme.ElementHandleTextContentParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2060
- _validatorPrimitives.scheme.ElementHandleTextContentResult = (0, _validatorPrimitives.tObject)({
2061
- value: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2062
- });
2063
- _validatorPrimitives.scheme.ElementHandleTypeParams = (0, _validatorPrimitives.tObject)({
2064
- text: _validatorPrimitives.tString,
2065
- delay: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2066
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2067
- });
2068
- _validatorPrimitives.scheme.ElementHandleTypeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2069
- _validatorPrimitives.scheme.ElementHandleUncheckParams = (0, _validatorPrimitives.tObject)({
2070
- force: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2071
- position: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('Point')),
2072
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2073
- trial: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
2074
- });
2075
- _validatorPrimitives.scheme.ElementHandleUncheckResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2076
- _validatorPrimitives.scheme.ElementHandleWaitForElementStateParams = (0, _validatorPrimitives.tObject)({
2077
- state: (0, _validatorPrimitives.tEnum)(['visible', 'hidden', 'stable', 'enabled', 'disabled', 'editable']),
2078
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2079
- });
2080
- _validatorPrimitives.scheme.ElementHandleWaitForElementStateResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2081
- _validatorPrimitives.scheme.ElementHandleWaitForSelectorParams = (0, _validatorPrimitives.tObject)({
2082
- selector: _validatorPrimitives.tString,
2083
- strict: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2084
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2085
- state: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['attached', 'detached', 'visible', 'hidden']))
2086
- });
2087
- _validatorPrimitives.scheme.ElementHandleWaitForSelectorResult = (0, _validatorPrimitives.tObject)({
2088
- element: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['ElementHandle']))
2089
- });
2090
- _validatorPrimitives.scheme.RequestInitializer = (0, _validatorPrimitives.tObject)({
2091
- frame: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Frame'])),
2092
- serviceWorker: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Worker'])),
2093
- url: _validatorPrimitives.tString,
2094
- resourceType: _validatorPrimitives.tString,
2095
- method: _validatorPrimitives.tString,
2096
- postData: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
2097
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue')),
2098
- isNavigationRequest: _validatorPrimitives.tBoolean,
2099
- redirectedFrom: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Request']))
2100
- });
2101
- _validatorPrimitives.scheme.RequestResponseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2102
- _validatorPrimitives.scheme.RequestResponseResult = (0, _validatorPrimitives.tObject)({
2103
- response: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Response']))
2104
- });
2105
- _validatorPrimitives.scheme.RequestRawRequestHeadersParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2106
- _validatorPrimitives.scheme.RequestRawRequestHeadersResult = (0, _validatorPrimitives.tObject)({
2107
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
2108
- });
2109
- _validatorPrimitives.scheme.RouteInitializer = (0, _validatorPrimitives.tObject)({
2110
- request: (0, _validatorPrimitives.tChannel)(['Request'])
2111
- });
2112
- _validatorPrimitives.scheme.RouteRedirectNavigationRequestParams = (0, _validatorPrimitives.tObject)({
2113
- url: _validatorPrimitives.tString
2114
- });
2115
- _validatorPrimitives.scheme.RouteRedirectNavigationRequestResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2116
- _validatorPrimitives.scheme.RouteAbortParams = (0, _validatorPrimitives.tObject)({
2117
- errorCode: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2118
- requestUrl: _validatorPrimitives.tString
2119
- });
2120
- _validatorPrimitives.scheme.RouteAbortResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2121
- _validatorPrimitives.scheme.RouteContinueParams = (0, _validatorPrimitives.tObject)({
2122
- url: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2123
- method: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2124
- headers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
2125
- postData: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
2126
- requestUrl: _validatorPrimitives.tString,
2127
- isFallback: _validatorPrimitives.tBoolean
2128
- });
2129
- _validatorPrimitives.scheme.RouteContinueResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2130
- _validatorPrimitives.scheme.RouteFulfillParams = (0, _validatorPrimitives.tObject)({
2131
- status: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2132
- headers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
2133
- body: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2134
- isBase64: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2135
- fetchResponseUid: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2136
- requestUrl: _validatorPrimitives.tString
2137
- });
2138
- _validatorPrimitives.scheme.RouteFulfillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2139
- _validatorPrimitives.scheme.ResourceTiming = (0, _validatorPrimitives.tObject)({
2140
- startTime: _validatorPrimitives.tNumber,
2141
- domainLookupStart: _validatorPrimitives.tNumber,
2142
- domainLookupEnd: _validatorPrimitives.tNumber,
2143
- connectStart: _validatorPrimitives.tNumber,
2144
- secureConnectionStart: _validatorPrimitives.tNumber,
2145
- connectEnd: _validatorPrimitives.tNumber,
2146
- requestStart: _validatorPrimitives.tNumber,
2147
- responseStart: _validatorPrimitives.tNumber
2148
- });
2149
- _validatorPrimitives.scheme.ResponseInitializer = (0, _validatorPrimitives.tObject)({
2150
- request: (0, _validatorPrimitives.tChannel)(['Request']),
2151
- url: _validatorPrimitives.tString,
2152
- status: _validatorPrimitives.tNumber,
2153
- statusText: _validatorPrimitives.tString,
2154
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue')),
2155
- timing: (0, _validatorPrimitives.tType)('ResourceTiming'),
2156
- fromServiceWorker: _validatorPrimitives.tBoolean
2157
- });
2158
- _validatorPrimitives.scheme.ResponseBodyParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2159
- _validatorPrimitives.scheme.ResponseBodyResult = (0, _validatorPrimitives.tObject)({
2160
- binary: _validatorPrimitives.tBinary
2161
- });
2162
- _validatorPrimitives.scheme.ResponseSecurityDetailsParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2163
- _validatorPrimitives.scheme.ResponseSecurityDetailsResult = (0, _validatorPrimitives.tObject)({
2164
- value: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('SecurityDetails'))
2165
- });
2166
- _validatorPrimitives.scheme.ResponseServerAddrParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2167
- _validatorPrimitives.scheme.ResponseServerAddrResult = (0, _validatorPrimitives.tObject)({
2168
- value: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('RemoteAddr'))
2169
- });
2170
- _validatorPrimitives.scheme.ResponseRawResponseHeadersParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2171
- _validatorPrimitives.scheme.ResponseRawResponseHeadersResult = (0, _validatorPrimitives.tObject)({
2172
- headers: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))
2173
- });
2174
- _validatorPrimitives.scheme.ResponseSizesParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2175
- _validatorPrimitives.scheme.ResponseSizesResult = (0, _validatorPrimitives.tObject)({
2176
- sizes: (0, _validatorPrimitives.tType)('RequestSizes')
2177
- });
2178
- _validatorPrimitives.scheme.SecurityDetails = (0, _validatorPrimitives.tObject)({
2179
- issuer: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2180
- protocol: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2181
- subjectName: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2182
- validFrom: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2183
- validTo: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2184
- });
2185
- _validatorPrimitives.scheme.RequestSizes = (0, _validatorPrimitives.tObject)({
2186
- requestBodySize: _validatorPrimitives.tNumber,
2187
- requestHeadersSize: _validatorPrimitives.tNumber,
2188
- responseBodySize: _validatorPrimitives.tNumber,
2189
- responseHeadersSize: _validatorPrimitives.tNumber
2190
- });
2191
- _validatorPrimitives.scheme.RemoteAddr = (0, _validatorPrimitives.tObject)({
2192
- ipAddress: _validatorPrimitives.tString,
2193
- port: _validatorPrimitives.tNumber
2194
- });
2195
- _validatorPrimitives.scheme.WebSocketInitializer = (0, _validatorPrimitives.tObject)({
2196
- url: _validatorPrimitives.tString
2197
- });
2198
- _validatorPrimitives.scheme.WebSocketOpenEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2199
- _validatorPrimitives.scheme.WebSocketFrameSentEvent = (0, _validatorPrimitives.tObject)({
2200
- opcode: _validatorPrimitives.tNumber,
2201
- data: _validatorPrimitives.tString
2202
- });
2203
- _validatorPrimitives.scheme.WebSocketFrameReceivedEvent = (0, _validatorPrimitives.tObject)({
2204
- opcode: _validatorPrimitives.tNumber,
2205
- data: _validatorPrimitives.tString
2206
- });
2207
- _validatorPrimitives.scheme.WebSocketSocketErrorEvent = (0, _validatorPrimitives.tObject)({
2208
- error: _validatorPrimitives.tString
2209
- });
2210
- _validatorPrimitives.scheme.WebSocketCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2211
- _validatorPrimitives.scheme.BindingCallInitializer = (0, _validatorPrimitives.tObject)({
2212
- frame: (0, _validatorPrimitives.tChannel)(['Frame']),
2213
- name: _validatorPrimitives.tString,
2214
- args: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('SerializedValue'))),
2215
- handle: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle']))
2216
- });
2217
- _validatorPrimitives.scheme.BindingCallRejectParams = (0, _validatorPrimitives.tObject)({
2218
- error: (0, _validatorPrimitives.tType)('SerializedError')
2219
- });
2220
- _validatorPrimitives.scheme.BindingCallRejectResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2221
- _validatorPrimitives.scheme.BindingCallResolveParams = (0, _validatorPrimitives.tObject)({
2222
- result: (0, _validatorPrimitives.tType)('SerializedArgument')
2223
- });
2224
- _validatorPrimitives.scheme.BindingCallResolveResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2225
- _validatorPrimitives.scheme.DialogInitializer = (0, _validatorPrimitives.tObject)({
2226
- page: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Page'])),
2227
- type: _validatorPrimitives.tString,
2228
- message: _validatorPrimitives.tString,
2229
- defaultValue: _validatorPrimitives.tString
2230
- });
2231
- _validatorPrimitives.scheme.DialogAcceptParams = (0, _validatorPrimitives.tObject)({
2232
- promptText: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2233
- });
2234
- _validatorPrimitives.scheme.DialogAcceptResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2235
- _validatorPrimitives.scheme.DialogDismissParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2236
- _validatorPrimitives.scheme.DialogDismissResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2237
- _validatorPrimitives.scheme.TracingInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2238
- _validatorPrimitives.scheme.TracingTracingStartParams = (0, _validatorPrimitives.tObject)({
2239
- name: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2240
- snapshots: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2241
- screenshots: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2242
- live: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
2243
- });
2244
- _validatorPrimitives.scheme.TracingTracingStartResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2245
- _validatorPrimitives.scheme.TracingTracingStartChunkParams = (0, _validatorPrimitives.tObject)({
2246
- name: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2247
- title: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2248
- });
2249
- _validatorPrimitives.scheme.TracingTracingStartChunkResult = (0, _validatorPrimitives.tObject)({
2250
- traceName: _validatorPrimitives.tString
2251
- });
2252
- _validatorPrimitives.scheme.TracingTracingStopChunkParams = (0, _validatorPrimitives.tObject)({
2253
- mode: (0, _validatorPrimitives.tEnum)(['archive', 'discard', 'entries'])
2254
- });
2255
- _validatorPrimitives.scheme.TracingTracingStopChunkResult = (0, _validatorPrimitives.tObject)({
2256
- artifact: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tChannel)(['Artifact'])),
2257
- entries: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue')))
2258
- });
2259
- _validatorPrimitives.scheme.TracingTracingStopParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2260
- _validatorPrimitives.scheme.TracingTracingStopResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2261
- _validatorPrimitives.scheme.ArtifactInitializer = (0, _validatorPrimitives.tObject)({
2262
- absolutePath: _validatorPrimitives.tString
2263
- });
2264
- _validatorPrimitives.scheme.ArtifactPathAfterFinishedParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2265
- _validatorPrimitives.scheme.ArtifactPathAfterFinishedResult = (0, _validatorPrimitives.tObject)({
2266
- value: _validatorPrimitives.tString
2267
- });
2268
- _validatorPrimitives.scheme.ArtifactSaveAsParams = (0, _validatorPrimitives.tObject)({
2269
- path: _validatorPrimitives.tString
2270
- });
2271
- _validatorPrimitives.scheme.ArtifactSaveAsResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2272
- _validatorPrimitives.scheme.ArtifactSaveAsStreamParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2273
- _validatorPrimitives.scheme.ArtifactSaveAsStreamResult = (0, _validatorPrimitives.tObject)({
2274
- stream: (0, _validatorPrimitives.tChannel)(['Stream'])
2275
- });
2276
- _validatorPrimitives.scheme.ArtifactFailureParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2277
- _validatorPrimitives.scheme.ArtifactFailureResult = (0, _validatorPrimitives.tObject)({
2278
- error: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2279
- });
2280
- _validatorPrimitives.scheme.ArtifactStreamParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2281
- _validatorPrimitives.scheme.ArtifactStreamResult = (0, _validatorPrimitives.tObject)({
2282
- stream: (0, _validatorPrimitives.tChannel)(['Stream'])
2283
- });
2284
- _validatorPrimitives.scheme.ArtifactCancelParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2285
- _validatorPrimitives.scheme.ArtifactCancelResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2286
- _validatorPrimitives.scheme.ArtifactDeleteParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2287
- _validatorPrimitives.scheme.ArtifactDeleteResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2288
- _validatorPrimitives.scheme.StreamInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2289
- _validatorPrimitives.scheme.StreamReadParams = (0, _validatorPrimitives.tObject)({
2290
- size: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2291
- });
2292
- _validatorPrimitives.scheme.StreamReadResult = (0, _validatorPrimitives.tObject)({
2293
- binary: _validatorPrimitives.tBinary
2294
- });
2295
- _validatorPrimitives.scheme.StreamCloseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2296
- _validatorPrimitives.scheme.StreamCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2297
- _validatorPrimitives.scheme.WritableStreamInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2298
- _validatorPrimitives.scheme.WritableStreamWriteParams = (0, _validatorPrimitives.tObject)({
2299
- binary: _validatorPrimitives.tBinary
2300
- });
2301
- _validatorPrimitives.scheme.WritableStreamWriteResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2302
- _validatorPrimitives.scheme.WritableStreamCloseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2303
- _validatorPrimitives.scheme.WritableStreamCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2304
- _validatorPrimitives.scheme.CDPSessionInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2305
- _validatorPrimitives.scheme.CDPSessionEventEvent = (0, _validatorPrimitives.tObject)({
2306
- method: _validatorPrimitives.tString,
2307
- params: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny)
2308
- });
2309
- _validatorPrimitives.scheme.CDPSessionSendParams = (0, _validatorPrimitives.tObject)({
2310
- method: _validatorPrimitives.tString,
2311
- params: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tAny)
2312
- });
2313
- _validatorPrimitives.scheme.CDPSessionSendResult = (0, _validatorPrimitives.tObject)({
2314
- result: _validatorPrimitives.tAny
2315
- });
2316
- _validatorPrimitives.scheme.CDPSessionDetachParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2317
- _validatorPrimitives.scheme.CDPSessionDetachResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2318
- _validatorPrimitives.scheme.ElectronInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2319
- _validatorPrimitives.scheme.ElectronLaunchParams = (0, _validatorPrimitives.tObject)({
2320
- executablePath: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2321
- args: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
2322
- cwd: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2323
- env: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
2324
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2325
- acceptDownloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['accept', 'deny', 'internal-browser-default'])),
2326
- bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2327
- colorScheme: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['dark', 'light', 'no-preference', 'no-override'])),
2328
- extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
2329
- geolocation: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2330
- longitude: _validatorPrimitives.tNumber,
2331
- latitude: _validatorPrimitives.tNumber,
2332
- accuracy: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2333
- })),
2334
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2335
- username: _validatorPrimitives.tString,
2336
- password: _validatorPrimitives.tString,
2337
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2338
- })),
2339
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2340
- locale: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2341
- offline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2342
- recordHar: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('RecordHarOptions')),
2343
- recordVideo: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2344
- dir: _validatorPrimitives.tString,
2345
- size: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2346
- width: _validatorPrimitives.tNumber,
2347
- height: _validatorPrimitives.tNumber
2348
- }))
2349
- })),
2350
- strictSelectors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2351
- timezoneId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2352
- tracesDir: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2353
- });
2354
- _validatorPrimitives.scheme.ElectronLaunchResult = (0, _validatorPrimitives.tObject)({
2355
- electronApplication: (0, _validatorPrimitives.tChannel)(['ElectronApplication'])
2356
- });
2357
- _validatorPrimitives.scheme.ElectronApplicationInitializer = (0, _validatorPrimitives.tObject)({
2358
- context: (0, _validatorPrimitives.tChannel)(['BrowserContext'])
2359
- });
2360
- _validatorPrimitives.scheme.ElectronApplicationCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2361
- _validatorPrimitives.scheme.ElectronApplicationConsoleEvent = (0, _validatorPrimitives.tObject)({
2362
- type: _validatorPrimitives.tString,
2363
- text: _validatorPrimitives.tString,
2364
- args: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])),
2365
- location: (0, _validatorPrimitives.tObject)({
2366
- url: _validatorPrimitives.tString,
2367
- lineNumber: _validatorPrimitives.tNumber,
2368
- columnNumber: _validatorPrimitives.tNumber
2369
- })
2370
- });
2371
- _validatorPrimitives.scheme.ElectronApplicationBrowserWindowParams = (0, _validatorPrimitives.tObject)({
2372
- page: (0, _validatorPrimitives.tChannel)(['Page'])
2373
- });
2374
- _validatorPrimitives.scheme.ElectronApplicationBrowserWindowResult = (0, _validatorPrimitives.tObject)({
2375
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
2376
- });
2377
- _validatorPrimitives.scheme.ElectronApplicationEvaluateExpressionParams = (0, _validatorPrimitives.tObject)({
2378
- expression: _validatorPrimitives.tString,
2379
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2380
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
2381
- });
2382
- _validatorPrimitives.scheme.ElectronApplicationEvaluateExpressionResult = (0, _validatorPrimitives.tObject)({
2383
- value: (0, _validatorPrimitives.tType)('SerializedValue')
2384
- });
2385
- _validatorPrimitives.scheme.ElectronApplicationEvaluateExpressionHandleParams = (0, _validatorPrimitives.tObject)({
2386
- expression: _validatorPrimitives.tString,
2387
- isFunction: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2388
- arg: (0, _validatorPrimitives.tType)('SerializedArgument')
2389
- });
2390
- _validatorPrimitives.scheme.ElectronApplicationEvaluateExpressionHandleResult = (0, _validatorPrimitives.tObject)({
2391
- handle: (0, _validatorPrimitives.tChannel)(['ElementHandle', 'JSHandle'])
2392
- });
2393
- _validatorPrimitives.scheme.ElectronApplicationUpdateSubscriptionParams = (0, _validatorPrimitives.tObject)({
2394
- event: (0, _validatorPrimitives.tEnum)(['console']),
2395
- enabled: _validatorPrimitives.tBoolean
2396
- });
2397
- _validatorPrimitives.scheme.ElectronApplicationUpdateSubscriptionResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2398
- _validatorPrimitives.scheme.AndroidInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2399
- _validatorPrimitives.scheme.AndroidDevicesParams = (0, _validatorPrimitives.tObject)({
2400
- host: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2401
- port: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2402
- omitDriverInstall: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean)
2403
- });
2404
- _validatorPrimitives.scheme.AndroidDevicesResult = (0, _validatorPrimitives.tObject)({
2405
- devices: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tChannel)(['AndroidDevice']))
2406
- });
2407
- _validatorPrimitives.scheme.AndroidSetDefaultTimeoutNoReplyParams = (0, _validatorPrimitives.tObject)({
2408
- timeout: _validatorPrimitives.tNumber
2409
- });
2410
- _validatorPrimitives.scheme.AndroidSetDefaultTimeoutNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2411
- _validatorPrimitives.scheme.AndroidSocketInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2412
- _validatorPrimitives.scheme.AndroidSocketDataEvent = (0, _validatorPrimitives.tObject)({
2413
- data: _validatorPrimitives.tBinary
2414
- });
2415
- _validatorPrimitives.scheme.AndroidSocketCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2416
- _validatorPrimitives.scheme.AndroidSocketWriteParams = (0, _validatorPrimitives.tObject)({
2417
- data: _validatorPrimitives.tBinary
2418
- });
2419
- _validatorPrimitives.scheme.AndroidSocketWriteResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2420
- _validatorPrimitives.scheme.AndroidSocketCloseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2421
- _validatorPrimitives.scheme.AndroidSocketCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2422
- _validatorPrimitives.scheme.AndroidDeviceInitializer = (0, _validatorPrimitives.tObject)({
2423
- model: _validatorPrimitives.tString,
2424
- serial: _validatorPrimitives.tString
2425
- });
2426
- _validatorPrimitives.scheme.AndroidDeviceCloseEvent = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2427
- _validatorPrimitives.scheme.AndroidDeviceWebViewAddedEvent = (0, _validatorPrimitives.tObject)({
2428
- webView: (0, _validatorPrimitives.tType)('AndroidWebView')
2429
- });
2430
- _validatorPrimitives.scheme.AndroidDeviceWebViewRemovedEvent = (0, _validatorPrimitives.tObject)({
2431
- socketName: _validatorPrimitives.tString
2432
- });
2433
- _validatorPrimitives.scheme.AndroidDeviceWaitParams = (0, _validatorPrimitives.tObject)({
2434
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2435
- state: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['gone'])),
2436
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2437
- });
2438
- _validatorPrimitives.scheme.AndroidDeviceWaitResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2439
- _validatorPrimitives.scheme.AndroidDeviceFillParams = (0, _validatorPrimitives.tObject)({
2440
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2441
- text: _validatorPrimitives.tString,
2442
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2443
- });
2444
- _validatorPrimitives.scheme.AndroidDeviceFillResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2445
- _validatorPrimitives.scheme.AndroidDeviceTapParams = (0, _validatorPrimitives.tObject)({
2446
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2447
- duration: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2448
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2449
- });
2450
- _validatorPrimitives.scheme.AndroidDeviceTapResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2451
- _validatorPrimitives.scheme.AndroidDeviceDragParams = (0, _validatorPrimitives.tObject)({
2452
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2453
- dest: (0, _validatorPrimitives.tType)('Point'),
2454
- speed: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2455
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2456
- });
2457
- _validatorPrimitives.scheme.AndroidDeviceDragResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2458
- _validatorPrimitives.scheme.AndroidDeviceFlingParams = (0, _validatorPrimitives.tObject)({
2459
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2460
- direction: (0, _validatorPrimitives.tEnum)(['up', 'down', 'left', 'right']),
2461
- speed: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2462
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2463
- });
2464
- _validatorPrimitives.scheme.AndroidDeviceFlingResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2465
- _validatorPrimitives.scheme.AndroidDeviceLongTapParams = (0, _validatorPrimitives.tObject)({
2466
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2467
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2468
- });
2469
- _validatorPrimitives.scheme.AndroidDeviceLongTapResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2470
- _validatorPrimitives.scheme.AndroidDevicePinchCloseParams = (0, _validatorPrimitives.tObject)({
2471
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2472
- percent: _validatorPrimitives.tNumber,
2473
- speed: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2474
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2475
- });
2476
- _validatorPrimitives.scheme.AndroidDevicePinchCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2477
- _validatorPrimitives.scheme.AndroidDevicePinchOpenParams = (0, _validatorPrimitives.tObject)({
2478
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2479
- percent: _validatorPrimitives.tNumber,
2480
- speed: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2481
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2482
- });
2483
- _validatorPrimitives.scheme.AndroidDevicePinchOpenResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2484
- _validatorPrimitives.scheme.AndroidDeviceScrollParams = (0, _validatorPrimitives.tObject)({
2485
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2486
- direction: (0, _validatorPrimitives.tEnum)(['up', 'down', 'left', 'right']),
2487
- percent: _validatorPrimitives.tNumber,
2488
- speed: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2489
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2490
- });
2491
- _validatorPrimitives.scheme.AndroidDeviceScrollResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2492
- _validatorPrimitives.scheme.AndroidDeviceSwipeParams = (0, _validatorPrimitives.tObject)({
2493
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2494
- direction: (0, _validatorPrimitives.tEnum)(['up', 'down', 'left', 'right']),
2495
- percent: _validatorPrimitives.tNumber,
2496
- speed: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2497
- timeout: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2498
- });
2499
- _validatorPrimitives.scheme.AndroidDeviceSwipeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2500
- _validatorPrimitives.scheme.AndroidDeviceInfoParams = (0, _validatorPrimitives.tObject)({
2501
- selector: (0, _validatorPrimitives.tType)('AndroidSelector')
2502
- });
2503
- _validatorPrimitives.scheme.AndroidDeviceInfoResult = (0, _validatorPrimitives.tObject)({
2504
- info: (0, _validatorPrimitives.tType)('AndroidElementInfo')
2505
- });
2506
- _validatorPrimitives.scheme.AndroidDeviceScreenshotParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2507
- _validatorPrimitives.scheme.AndroidDeviceScreenshotResult = (0, _validatorPrimitives.tObject)({
2508
- binary: _validatorPrimitives.tBinary
2509
- });
2510
- _validatorPrimitives.scheme.AndroidDeviceInputTypeParams = (0, _validatorPrimitives.tObject)({
2511
- text: _validatorPrimitives.tString
2512
- });
2513
- _validatorPrimitives.scheme.AndroidDeviceInputTypeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2514
- _validatorPrimitives.scheme.AndroidDeviceInputPressParams = (0, _validatorPrimitives.tObject)({
2515
- key: _validatorPrimitives.tString
2516
- });
2517
- _validatorPrimitives.scheme.AndroidDeviceInputPressResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2518
- _validatorPrimitives.scheme.AndroidDeviceInputTapParams = (0, _validatorPrimitives.tObject)({
2519
- point: (0, _validatorPrimitives.tType)('Point')
2520
- });
2521
- _validatorPrimitives.scheme.AndroidDeviceInputTapResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2522
- _validatorPrimitives.scheme.AndroidDeviceInputSwipeParams = (0, _validatorPrimitives.tObject)({
2523
- segments: (0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('Point')),
2524
- steps: _validatorPrimitives.tNumber
2525
- });
2526
- _validatorPrimitives.scheme.AndroidDeviceInputSwipeResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2527
- _validatorPrimitives.scheme.AndroidDeviceInputDragParams = (0, _validatorPrimitives.tObject)({
2528
- from: (0, _validatorPrimitives.tType)('Point'),
2529
- to: (0, _validatorPrimitives.tType)('Point'),
2530
- steps: _validatorPrimitives.tNumber
2531
- });
2532
- _validatorPrimitives.scheme.AndroidDeviceInputDragResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2533
- _validatorPrimitives.scheme.AndroidDeviceLaunchBrowserParams = (0, _validatorPrimitives.tObject)({
2534
- noDefaultViewport: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2535
- viewport: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2536
- width: _validatorPrimitives.tNumber,
2537
- height: _validatorPrimitives.tNumber
2538
- })),
2539
- screen: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2540
- width: _validatorPrimitives.tNumber,
2541
- height: _validatorPrimitives.tNumber
2542
- })),
2543
- ignoreHTTPSErrors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2544
- clientCertificates: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tObject)({
2545
- origin: _validatorPrimitives.tString,
2546
- cert: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
2547
- key: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary),
2548
- passphrase: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2549
- pfx: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBinary)
2550
- }))),
2551
- javaScriptEnabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2552
- bypassCSP: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2553
- userAgent: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2554
- locale: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2555
- timezoneId: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2556
- geolocation: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2557
- longitude: _validatorPrimitives.tNumber,
2558
- latitude: _validatorPrimitives.tNumber,
2559
- accuracy: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2560
- })),
2561
- permissions: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
2562
- extraHTTPHeaders: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('NameValue'))),
2563
- offline: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2564
- httpCredentials: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2565
- username: _validatorPrimitives.tString,
2566
- password: _validatorPrimitives.tString,
2567
- origin: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2568
- send: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['always', 'unauthorized']))
2569
- })),
2570
- deviceScaleFactor: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2571
- isMobile: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2572
- hasTouch: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2573
- colorScheme: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['dark', 'light', 'no-preference', 'no-override'])),
2574
- reducedMotion: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['reduce', 'no-preference', 'no-override'])),
2575
- forcedColors: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['active', 'none', 'no-override'])),
2576
- acceptDownloads: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['accept', 'deny', 'internal-browser-default'])),
2577
- baseURL: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2578
- recordVideo: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2579
- dir: _validatorPrimitives.tString,
2580
- size: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2581
- width: _validatorPrimitives.tNumber,
2582
- height: _validatorPrimitives.tNumber
2583
- }))
2584
- })),
2585
- recordHar: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tType)('RecordHarOptions')),
2586
- strictSelectors: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2587
- serviceWorkers: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tEnum)(['allow', 'block'])),
2588
- pkg: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2589
- args: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString)),
2590
- proxy: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2591
- server: _validatorPrimitives.tString,
2592
- bypass: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2593
- username: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2594
- password: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2595
- }))
2596
- });
2597
- _validatorPrimitives.scheme.AndroidDeviceLaunchBrowserResult = (0, _validatorPrimitives.tObject)({
2598
- context: (0, _validatorPrimitives.tChannel)(['BrowserContext'])
2599
- });
2600
- _validatorPrimitives.scheme.AndroidDeviceOpenParams = (0, _validatorPrimitives.tObject)({
2601
- command: _validatorPrimitives.tString
2602
- });
2603
- _validatorPrimitives.scheme.AndroidDeviceOpenResult = (0, _validatorPrimitives.tObject)({
2604
- socket: (0, _validatorPrimitives.tChannel)(['AndroidSocket'])
2605
- });
2606
- _validatorPrimitives.scheme.AndroidDeviceShellParams = (0, _validatorPrimitives.tObject)({
2607
- command: _validatorPrimitives.tString
2608
- });
2609
- _validatorPrimitives.scheme.AndroidDeviceShellResult = (0, _validatorPrimitives.tObject)({
2610
- result: _validatorPrimitives.tBinary
2611
- });
2612
- _validatorPrimitives.scheme.AndroidDeviceInstallApkParams = (0, _validatorPrimitives.tObject)({
2613
- file: _validatorPrimitives.tBinary,
2614
- args: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)(_validatorPrimitives.tString))
2615
- });
2616
- _validatorPrimitives.scheme.AndroidDeviceInstallApkResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2617
- _validatorPrimitives.scheme.AndroidDevicePushParams = (0, _validatorPrimitives.tObject)({
2618
- file: _validatorPrimitives.tBinary,
2619
- path: _validatorPrimitives.tString,
2620
- mode: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2621
- });
2622
- _validatorPrimitives.scheme.AndroidDevicePushResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2623
- _validatorPrimitives.scheme.AndroidDeviceSetDefaultTimeoutNoReplyParams = (0, _validatorPrimitives.tObject)({
2624
- timeout: _validatorPrimitives.tNumber
2625
- });
2626
- _validatorPrimitives.scheme.AndroidDeviceSetDefaultTimeoutNoReplyResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2627
- _validatorPrimitives.scheme.AndroidDeviceConnectToWebViewParams = (0, _validatorPrimitives.tObject)({
2628
- socketName: _validatorPrimitives.tString
2629
- });
2630
- _validatorPrimitives.scheme.AndroidDeviceConnectToWebViewResult = (0, _validatorPrimitives.tObject)({
2631
- context: (0, _validatorPrimitives.tChannel)(['BrowserContext'])
2632
- });
2633
- _validatorPrimitives.scheme.AndroidDeviceCloseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2634
- _validatorPrimitives.scheme.AndroidDeviceCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2635
- _validatorPrimitives.scheme.AndroidWebView = (0, _validatorPrimitives.tObject)({
2636
- pid: _validatorPrimitives.tNumber,
2637
- pkg: _validatorPrimitives.tString,
2638
- socketName: _validatorPrimitives.tString
2639
- });
2640
- _validatorPrimitives.scheme.AndroidSelector = (0, _validatorPrimitives.tObject)({
2641
- checkable: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2642
- checked: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2643
- clazz: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2644
- clickable: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2645
- depth: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber),
2646
- desc: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2647
- enabled: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2648
- focusable: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2649
- focused: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2650
- hasChild: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2651
- selector: (0, _validatorPrimitives.tType)('AndroidSelector')
2652
- })),
2653
- hasDescendant: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({
2654
- selector: (0, _validatorPrimitives.tType)('AndroidSelector'),
2655
- maxDepth: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tNumber)
2656
- })),
2657
- longClickable: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2658
- pkg: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2659
- res: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString),
2660
- scrollable: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2661
- selected: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tBoolean),
2662
- text: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2663
- });
2664
- _validatorPrimitives.scheme.AndroidElementInfo = (0, _validatorPrimitives.tObject)({
2665
- children: (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tArray)((0, _validatorPrimitives.tType)('AndroidElementInfo'))),
2666
- clazz: _validatorPrimitives.tString,
2667
- desc: _validatorPrimitives.tString,
2668
- res: _validatorPrimitives.tString,
2669
- pkg: _validatorPrimitives.tString,
2670
- text: _validatorPrimitives.tString,
2671
- bounds: (0, _validatorPrimitives.tType)('Rect'),
2672
- checkable: _validatorPrimitives.tBoolean,
2673
- checked: _validatorPrimitives.tBoolean,
2674
- clickable: _validatorPrimitives.tBoolean,
2675
- enabled: _validatorPrimitives.tBoolean,
2676
- focusable: _validatorPrimitives.tBoolean,
2677
- focused: _validatorPrimitives.tBoolean,
2678
- longClickable: _validatorPrimitives.tBoolean,
2679
- scrollable: _validatorPrimitives.tBoolean,
2680
- selected: _validatorPrimitives.tBoolean
2681
- });
2682
- _validatorPrimitives.scheme.JsonPipeInitializer = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2683
- _validatorPrimitives.scheme.JsonPipeMessageEvent = (0, _validatorPrimitives.tObject)({
2684
- message: _validatorPrimitives.tAny
2685
- });
2686
- _validatorPrimitives.scheme.JsonPipeClosedEvent = (0, _validatorPrimitives.tObject)({
2687
- reason: (0, _validatorPrimitives.tOptional)(_validatorPrimitives.tString)
2688
- });
2689
- _validatorPrimitives.scheme.JsonPipeSendParams = (0, _validatorPrimitives.tObject)({
2690
- message: _validatorPrimitives.tAny
2691
- });
2692
- _validatorPrimitives.scheme.JsonPipeSendResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2693
- _validatorPrimitives.scheme.JsonPipeCloseParams = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));
2694
- _validatorPrimitives.scheme.JsonPipeCloseResult = (0, _validatorPrimitives.tOptional)((0, _validatorPrimitives.tObject)({}));