rechrome 1.19.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/README.md +8 -3
  2. package/package.json +5 -3
  3. package/rech.js +27 -12
  4. package/rech.ts +27 -12
  5. package/serve.js +4 -1
  6. package/serve.ts +4 -1
  7. package/vendor/playwright-cli/node_modules/playwright-core/README.md +3 -0
  8. package/vendor/playwright-cli/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
  9. package/vendor/playwright-cli/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
  10. package/vendor/playwright-cli/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
  11. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
  12. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
  13. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
  14. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
  15. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
  16. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
  17. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
  18. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
  19. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
  20. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
  21. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
  22. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
  23. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
  24. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
  25. package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
  26. package/vendor/playwright-cli/node_modules/playwright-core/browsers.json +81 -0
  27. package/vendor/playwright-cli/node_modules/playwright-core/cli.js +21 -0
  28. package/vendor/playwright-cli/node_modules/playwright-core/index.d.ts +17 -0
  29. package/vendor/playwright-cli/node_modules/playwright-core/index.js +32 -0
  30. package/vendor/playwright-cli/node_modules/playwright-core/index.mjs +28 -0
  31. package/vendor/playwright-cli/node_modules/playwright-core/lib/androidServerImpl.js +65 -0
  32. package/vendor/playwright-cli/node_modules/playwright-core/lib/bootstrap.js +77 -0
  33. package/vendor/playwright-cli/node_modules/playwright-core/lib/browserServerImpl.js +120 -0
  34. package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/driver.js +98 -0
  35. package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/program.js +597 -0
  36. package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/programWithTestStub.js +74 -0
  37. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/android.js +361 -0
  38. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/api.js +137 -0
  39. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/artifact.js +79 -0
  40. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browser.js +169 -0
  41. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browserContext.js +583 -0
  42. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browserType.js +153 -0
  43. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/cdpSession.js +55 -0
  44. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/channelOwner.js +194 -0
  45. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientHelper.js +64 -0
  46. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientInstrumentation.js +55 -0
  47. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientStackTrace.js +69 -0
  48. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clock.js +68 -0
  49. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/connect.js +143 -0
  50. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/connection.js +322 -0
  51. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/consoleMessage.js +61 -0
  52. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/coverage.js +44 -0
  53. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/debugger.js +57 -0
  54. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/dialog.js +56 -0
  55. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/disposable.js +76 -0
  56. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/download.js +62 -0
  57. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/electron.js +138 -0
  58. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/elementHandle.js +281 -0
  59. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/errors.js +77 -0
  60. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/eventEmitter.js +314 -0
  61. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/events.js +103 -0
  62. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fetch.js +367 -0
  63. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fileChooser.js +46 -0
  64. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fileUtils.js +34 -0
  65. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/frame.js +404 -0
  66. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/harRouter.js +99 -0
  67. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/input.js +84 -0
  68. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/jsHandle.js +105 -0
  69. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/jsonPipe.js +39 -0
  70. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/localUtils.js +60 -0
  71. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/locator.js +367 -0
  72. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/network.js +750 -0
  73. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/page.js +729 -0
  74. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/platform.js +77 -0
  75. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/playwright.js +71 -0
  76. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/screencast.js +48 -0
  77. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/selectors.js +57 -0
  78. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/stream.js +39 -0
  79. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/timeoutSettings.js +79 -0
  80. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/tracing.js +126 -0
  81. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/types.js +28 -0
  82. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/video.js +68 -0
  83. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/waiter.js +142 -0
  84. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/webError.js +39 -0
  85. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/worker.js +85 -0
  86. package/vendor/playwright-cli/node_modules/playwright-core/lib/client/writableStream.js +39 -0
  87. package/vendor/playwright-cli/node_modules/playwright-core/lib/coreBundle.js +68170 -0
  88. package/vendor/playwright-cli/node_modules/playwright-core/lib/electron/loader.js +67 -0
  89. package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
  90. package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
  91. package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/mcp.js +10 -0
  92. package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
  93. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +28 -0
  94. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/clockSource.js +28 -0
  95. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/injectedScriptSource.js +28 -0
  96. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +28 -0
  97. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/storageScriptSource.js +28 -0
  98. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/utilityScriptSource.js +28 -0
  99. package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/webSocketMockSource.js +336 -0
  100. package/vendor/playwright-cli/node_modules/playwright-core/lib/inProcessFactory.js +60 -0
  101. package/vendor/playwright-cli/node_modules/playwright-core/lib/inprocess.js +3 -0
  102. package/vendor/playwright-cli/node_modules/playwright-core/lib/mcpBundle.js +81 -0
  103. package/vendor/playwright-cli/node_modules/playwright-core/lib/mcpBundleImpl/index.js +91 -0
  104. package/vendor/playwright-cli/node_modules/playwright-core/lib/outofprocess.js +76 -0
  105. package/vendor/playwright-cli/node_modules/playwright-core/lib/package.js +50 -0
  106. package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/serializers.js +197 -0
  107. package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/validator.js +3034 -0
  108. package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +193 -0
  109. package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightConnection.js +131 -0
  110. package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightPipeServer.js +100 -0
  111. package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightServer.js +339 -0
  112. package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightWebSocketServer.js +73 -0
  113. package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/serverTransport.js +96 -0
  114. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/android/android.js +465 -0
  115. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/android/backendAdb.js +177 -0
  116. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/artifact.js +127 -0
  117. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +571 -0
  118. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +162 -0
  119. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +213 -0
  120. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiDeserializer.js +116 -0
  121. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +267 -0
  122. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +128 -0
  123. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiInput.js +146 -0
  124. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +411 -0
  125. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +102 -0
  126. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiPage.js +599 -0
  127. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +106 -0
  128. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +22 -0
  129. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +256 -0
  130. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +24 -0
  131. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +180 -0
  132. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +42 -0
  133. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +148 -0
  134. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +261 -0
  135. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browser.js +223 -0
  136. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browserContext.js +703 -0
  137. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browserType.js +338 -0
  138. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/callLog.js +82 -0
  139. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  140. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/chromium.js +399 -0
  141. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +104 -0
  142. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crBrowser.js +532 -0
  143. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crConnection.js +197 -0
  144. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crCoverage.js +235 -0
  145. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crDevTools.js +111 -0
  146. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +131 -0
  147. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +146 -0
  148. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crInput.js +187 -0
  149. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +708 -0
  150. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crPage.js +1004 -0
  151. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crPdf.js +121 -0
  152. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +145 -0
  153. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +137 -0
  154. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +162 -0
  155. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/protocol.d.js +16 -0
  156. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/clock.js +149 -0
  157. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/csharp.js +327 -0
  158. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/java.js +274 -0
  159. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/javascript.js +247 -0
  160. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/jsonl.js +52 -0
  161. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/language.js +132 -0
  162. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/languages.js +68 -0
  163. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/python.js +279 -0
  164. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/types.js +16 -0
  165. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/console.js +61 -0
  166. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/cookieStore.js +206 -0
  167. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/debugController.js +197 -0
  168. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/debugger.js +120 -0
  169. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/deviceDescriptors.js +39 -0
  170. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +1779 -0
  171. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dialog.js +116 -0
  172. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +325 -0
  173. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +118 -0
  174. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +381 -0
  175. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +124 -0
  176. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +71 -0
  177. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +47 -0
  178. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +78 -0
  179. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/debuggerDispatcher.js +80 -0
  180. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +47 -0
  181. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +364 -0
  182. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/disposableDispatcher.js +39 -0
  183. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +90 -0
  184. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +181 -0
  185. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +227 -0
  186. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +85 -0
  187. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +58 -0
  188. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +185 -0
  189. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +214 -0
  190. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +434 -0
  191. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +108 -0
  192. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +67 -0
  193. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +68 -0
  194. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +164 -0
  195. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +79 -0
  196. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/disposable.js +41 -0
  197. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dom.js +823 -0
  198. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/download.js +71 -0
  199. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/electron/electron.js +272 -0
  200. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/electron/loader.js +115 -0
  201. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/errors.js +69 -0
  202. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fetch.js +621 -0
  203. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fileChooser.js +43 -0
  204. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fileUploadUtils.js +84 -0
  205. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +415 -0
  206. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffConnection.js +142 -0
  207. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +150 -0
  208. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffInput.js +175 -0
  209. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +256 -0
  210. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffPage.js +495 -0
  211. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/firefox.js +114 -0
  212. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/protocol.d.js +16 -0
  213. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/formData.js +147 -0
  214. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/frameSelectors.js +160 -0
  215. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/frames.js +1495 -0
  216. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/har/harRecorder.js +147 -0
  217. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/har/harTracer.js +608 -0
  218. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/harBackend.js +157 -0
  219. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/helper.js +96 -0
  220. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/index.js +58 -0
  221. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/input.js +277 -0
  222. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/instrumentation.js +72 -0
  223. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/javascript.js +291 -0
  224. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/launchApp.js +127 -0
  225. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/localUtils.js +214 -0
  226. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/macEditingCommands.js +143 -0
  227. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/network.js +668 -0
  228. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/page.js +884 -0
  229. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/pipeTransport.js +89 -0
  230. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/playwright.js +69 -0
  231. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/progress.js +136 -0
  232. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/protocolError.js +52 -0
  233. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/chat.js +161 -0
  234. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderApp.js +367 -0
  235. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +138 -0
  236. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +83 -0
  237. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +157 -0
  238. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/throttledFile.js +57 -0
  239. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder.js +540 -0
  240. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/browserFetcher.js +177 -0
  241. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/dependencies.js +371 -0
  242. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/index.js +1395 -0
  243. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/nativeDeps.js +1281 -0
  244. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +127 -0
  245. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/screencast.js +216 -0
  246. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/screenshotter.js +333 -0
  247. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/selectors.js +112 -0
  248. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +383 -0
  249. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/socksInterceptor.js +95 -0
  250. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +147 -0
  251. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +561 -0
  252. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +607 -0
  253. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +244 -0
  254. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/transport.js +181 -0
  255. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/types.js +28 -0
  256. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/usKeyboardLayout.js +152 -0
  257. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/ascii.js +44 -0
  258. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/comparators.js +139 -0
  259. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/crypto.js +216 -0
  260. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/debug.js +42 -0
  261. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/debugLogger.js +122 -0
  262. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/disposable.js +32 -0
  263. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/env.js +73 -0
  264. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/eventsHelper.js +41 -0
  265. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/expectUtils.js +123 -0
  266. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/fileUtils.js +191 -0
  267. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +207 -0
  268. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/hostPlatform.js +123 -0
  269. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/httpServer.js +205 -0
  270. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +89 -0
  271. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +109 -0
  272. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +78 -0
  273. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +102 -0
  274. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/linuxUtils.js +71 -0
  275. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/network.js +244 -0
  276. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/nodePlatform.js +154 -0
  277. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/pipeTransport.js +84 -0
  278. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/processLauncher.js +243 -0
  279. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/profiler.js +65 -0
  280. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/socksProxy.js +511 -0
  281. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/spawnAsync.js +41 -0
  282. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/task.js +51 -0
  283. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/userAgent.js +98 -0
  284. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/wsServer.js +121 -0
  285. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/zipFile.js +74 -0
  286. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/zones.js +57 -0
  287. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/videoRecorder.js +133 -0
  288. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/protocol.d.js +16 -0
  289. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/webkit.js +108 -0
  290. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +331 -0
  291. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkConnection.js +144 -0
  292. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +154 -0
  293. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkInput.js +181 -0
  294. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +197 -0
  295. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkPage.js +1164 -0
  296. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +83 -0
  297. package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +106 -0
  298. package/vendor/playwright-cli/node_modules/playwright-core/lib/serverRegistry.js +7343 -0
  299. package/vendor/playwright-cli/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +354 -0
  300. package/vendor/playwright-cli/node_modules/playwright-core/lib/third_party/pixelmatch.js +255 -0
  301. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/browserBackend.js +79 -0
  302. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/common.js +63 -0
  303. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/config.js +41 -0
  304. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/console.js +66 -0
  305. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/context.js +290 -0
  306. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/cookies.js +152 -0
  307. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/devtools.js +69 -0
  308. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/dialogs.js +59 -0
  309. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/evaluate.js +64 -0
  310. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/files.js +60 -0
  311. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/form.js +64 -0
  312. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/keyboard.js +155 -0
  313. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/logFile.js +95 -0
  314. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/mouse.js +168 -0
  315. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/navigate.js +106 -0
  316. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/network.js +135 -0
  317. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/pdf.js +48 -0
  318. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/response.js +302 -0
  319. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/route.js +140 -0
  320. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/runCode.js +76 -0
  321. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/screenshot.js +88 -0
  322. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/sessionLog.js +74 -0
  323. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/snapshot.js +208 -0
  324. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/storage.js +67 -0
  325. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tab.js +445 -0
  326. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tabs.js +67 -0
  327. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tool.js +47 -0
  328. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tools.js +102 -0
  329. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tracing.js +75 -0
  330. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/utils.js +83 -0
  331. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/verify.js +151 -0
  332. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/video.js +89 -0
  333. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/wait.js +63 -0
  334. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/webstorage.js +223 -0
  335. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
  336. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/cli.js +6 -0
  337. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/help.json +679 -0
  338. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
  339. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/output.js +343 -0
  340. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/program.js +380 -0
  341. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/registry.js +176 -0
  342. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/session.js +265 -0
  343. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/SKILL.md +388 -0
  344. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/element-attributes.md +23 -0
  345. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/playwright-tests.md +39 -0
  346. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/request-mocking.md +87 -0
  347. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/running-code.md +241 -0
  348. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/session-management.md +225 -0
  349. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/spec-driven-testing.md +305 -0
  350. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/storage-state.md +275 -0
  351. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/test-generation.md +134 -0
  352. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/tracing.md +139 -0
  353. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/video-recording.md +143 -0
  354. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/command.js +73 -0
  355. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/commands.js +933 -0
  356. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/daemon.js +178 -0
  357. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/helpGenerator.js +173 -0
  358. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/program.js +118 -0
  359. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
  360. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/dashboardApp.js +286 -0
  361. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/dashboardController.js +296 -0
  362. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/exports.js +60 -0
  363. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/browserFactory.js +233 -0
  364. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/cdpRelay.js +356 -0
  365. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/cli-stub.js +7 -0
  366. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/config.d.js +16 -0
  367. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/config.js +401 -0
  368. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/configIni.js +189 -0
  369. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/extensionContextFactory.js +59 -0
  370. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/index.js +62 -0
  371. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/log.js +35 -0
  372. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/program.js +107 -0
  373. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/protocol.js +28 -0
  374. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/watchdog.js +44 -0
  375. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/SKILL.md +171 -0
  376. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/installSkill.js +48 -0
  377. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceActions.js +142 -0
  378. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceAttachments.js +69 -0
  379. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceCli.js +80 -0
  380. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceConsole.js +97 -0
  381. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceErrors.js +55 -0
  382. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceOpen.js +69 -0
  383. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceParser.js +96 -0
  384. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceRequests.js +158 -0
  385. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceScreenshot.js +68 -0
  386. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceSnapshot.js +149 -0
  387. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceUtils.js +135 -0
  388. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/connect.js +32 -0
  389. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/extension.js +78 -0
  390. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/http.js +152 -0
  391. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/server.js +230 -0
  392. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/tool.js +47 -0
  393. package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
  394. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +455 -0
  395. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/assert.js +31 -0
  396. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/colors.js +72 -0
  397. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +245 -0
  398. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +1051 -0
  399. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/formatUtils.js +64 -0
  400. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/headers.js +53 -0
  401. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/imageUtils.js +141 -0
  402. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +689 -0
  403. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +176 -0
  404. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +81 -0
  405. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/lruCache.js +51 -0
  406. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +114 -0
  407. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +464 -0
  408. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +80 -0
  409. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +81 -0
  410. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +342 -0
  411. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +43 -0
  412. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +386 -0
  413. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +54 -0
  414. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +158 -0
  415. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +204 -0
  416. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/time.js +49 -0
  417. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +66 -0
  418. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/entries.js +16 -0
  419. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotRenderer.js +502 -0
  420. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotServer.js +120 -0
  421. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotStorage.js +89 -0
  422. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceLoader.js +131 -0
  423. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModel.js +366 -0
  424. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModernizer.js +401 -0
  425. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceUtils.js +58 -0
  426. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV3.js +16 -0
  427. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV4.js +16 -0
  428. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV5.js +16 -0
  429. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV6.js +16 -0
  430. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV7.js +16 -0
  431. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV8.js +16 -0
  432. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/types.js +16 -0
  433. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +243 -0
  434. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +262 -0
  435. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/yaml.js +84 -0
  436. package/vendor/playwright-cli/node_modules/playwright-core/lib/utils.js +113 -0
  437. package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundle.js +86478 -0
  438. package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +2058 -0
  439. package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundleImpl/index.js +218 -0
  440. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  441. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  442. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  443. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  444. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/index-BY2S1tHT.css +1 -0
  445. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/index-DpEq2p62.js +52 -0
  446. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  447. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
  448. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
  449. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
  450. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/htmlReport/report.css +1 -0
  451. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/htmlReport/report.js +72 -0
  452. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-BHYmBp6h.js +32 -0
  453. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +1 -0
  454. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  455. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/index-4ZiSSCmn.css +1 -0
  456. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/index-DA10QRaq.js +193 -0
  457. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
  458. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
  459. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BRrOnXSS.js +32 -0
  460. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BtGnd8kr.js +32 -0
  461. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-CnvO0fko.js +32 -0
  462. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BkMbME_o.js +262 -0
  463. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BoN8TZYy.js +262 -0
  464. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-CN3cwLGD.js +262 -0
  465. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +1 -0
  466. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +9 -0
  467. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +1 -0
  468. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  469. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.B4dS75f0.css +1 -0
  470. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BDKsFU3c.css +1 -0
  471. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.DcQiWcKS.css +1 -0
  472. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.B2ffe31o.js +2 -0
  473. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.CzXZzn5A.css +1 -0
  474. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.Df3uWWXm.js +2 -0
  475. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.PqVYgODr.js +2 -0
  476. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
  477. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
  478. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
  479. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
  480. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/snapshot.v8KI4P3m.js +2 -0
  481. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +5 -0
  482. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.B-IwVgWY.js +6 -0
  483. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +1 -0
  484. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +1 -0
  485. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CmAqMvmy.js +6 -0
  486. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
  487. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.u9Eas4CP.js +6 -0
  488. package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +32 -0
  489. package/vendor/playwright-cli/node_modules/playwright-core/lib/xdg-open +1066 -0
  490. package/vendor/playwright-cli/node_modules/playwright-core/lib/zipBundle.js +34 -0
  491. package/vendor/playwright-cli/node_modules/playwright-core/lib/zipBundleImpl.js +5 -0
  492. package/vendor/playwright-cli/node_modules/playwright-core/package.json +34 -0
  493. package/vendor/playwright-cli/node_modules/playwright-core/types/protocol.d.ts +24565 -0
  494. package/vendor/playwright-cli/node_modules/playwright-core/types/structs.d.ts +45 -0
  495. package/vendor/playwright-cli/node_modules/playwright-core/types/types.d.ts +23879 -0
  496. package/vendor/playwright-cli/package.json +6 -0
  497. package/vendor/playwright-cli/playwright-cli.js +50 -0
@@ -0,0 +1,933 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var commands_exports = {};
20
+ __export(commands_exports, {
21
+ commands: () => commands
22
+ });
23
+ module.exports = __toCommonJS(commands_exports);
24
+ var import_mcpBundle = require("../../mcpBundle");
25
+ var import_command = require("./command");
26
+ const numberArg = import_mcpBundle.z.preprocess((val, ctx) => {
27
+ const number = Number(val);
28
+ if (Number.isNaN(number)) {
29
+ ctx.issues.push({
30
+ code: "custom",
31
+ message: `expected number, received '${val}'`,
32
+ input: val
33
+ });
34
+ }
35
+ return number;
36
+ }, import_mcpBundle.z.number());
37
+ function asRef(refOrSelector) {
38
+ if (refOrSelector === void 0)
39
+ return {};
40
+ if (refOrSelector.match(/^(f\d+)?e\d+$/))
41
+ return { ref: refOrSelector };
42
+ return { ref: "", selector: refOrSelector };
43
+ }
44
+ const open = (0, import_command.declareCommand)({
45
+ name: "open",
46
+ description: "Open the browser",
47
+ category: "core",
48
+ args: import_mcpBundle.z.object({
49
+ url: import_mcpBundle.z.string().optional().describe("The URL to navigate to")
50
+ }),
51
+ options: import_mcpBundle.z.object({
52
+ browser: import_mcpBundle.z.string().optional().describe("Browser or chrome channel to use, possible values: chrome, firefox, webkit, msedge."),
53
+ config: import_mcpBundle.z.string().optional().describe("Path to the configuration file, defaults to .playwright/cli.config.json"),
54
+ extension: import_mcpBundle.z.boolean().optional().describe("Connect to browser extension"),
55
+ headed: import_mcpBundle.z.boolean().optional().describe("Run browser in headed mode"),
56
+ persistent: import_mcpBundle.z.boolean().optional().describe("Use persistent browser profile"),
57
+ profile: import_mcpBundle.z.string().optional().describe("Use persistent browser profile, store profile in specified directory.")
58
+ }),
59
+ toolName: ({ url }) => url ? "browser_navigate" : "browser_snapshot",
60
+ toolParams: ({ url }) => url ? { url: url || "about:blank" } : { filename: "<auto>" }
61
+ });
62
+ const attach = (0, import_command.declareCommand)({
63
+ name: "attach",
64
+ description: "Attach to a running Playwright browser",
65
+ category: "core",
66
+ args: import_mcpBundle.z.object({
67
+ name: import_mcpBundle.z.string().describe("Name or endpoint of the browser to attach to")
68
+ }),
69
+ options: import_mcpBundle.z.object({
70
+ config: import_mcpBundle.z.string().optional().describe("Path to the configuration file, defaults to .playwright/cli.config.json"),
71
+ session: import_mcpBundle.z.string().optional().describe("Session name alias (defaults to the attach target name)")
72
+ }),
73
+ toolName: "browser_snapshot",
74
+ toolParams: () => ({ filename: "<auto>" })
75
+ });
76
+ const close = (0, import_command.declareCommand)({
77
+ name: "close",
78
+ description: "Close the browser",
79
+ category: "core",
80
+ args: import_mcpBundle.z.object({}),
81
+ toolName: "",
82
+ toolParams: () => ({})
83
+ });
84
+ const goto = (0, import_command.declareCommand)({
85
+ name: "goto",
86
+ description: "Navigate to a URL",
87
+ category: "core",
88
+ args: import_mcpBundle.z.object({
89
+ url: import_mcpBundle.z.string().describe("The URL to navigate to")
90
+ }),
91
+ toolName: "browser_navigate",
92
+ toolParams: ({ url }) => ({ url })
93
+ });
94
+ const goBack = (0, import_command.declareCommand)({
95
+ name: "go-back",
96
+ description: "Go back to the previous page",
97
+ category: "navigation",
98
+ args: import_mcpBundle.z.object({}),
99
+ toolName: "browser_navigate_back",
100
+ toolParams: () => ({})
101
+ });
102
+ const goForward = (0, import_command.declareCommand)({
103
+ name: "go-forward",
104
+ description: "Go forward to the next page",
105
+ category: "navigation",
106
+ args: import_mcpBundle.z.object({}),
107
+ toolName: "browser_navigate_forward",
108
+ toolParams: () => ({})
109
+ });
110
+ const reload = (0, import_command.declareCommand)({
111
+ name: "reload",
112
+ description: "Reload the current page",
113
+ category: "navigation",
114
+ args: import_mcpBundle.z.object({}),
115
+ toolName: "browser_reload",
116
+ toolParams: () => ({})
117
+ });
118
+ const pressKey = (0, import_command.declareCommand)({
119
+ name: "press",
120
+ description: "Press a key on the keyboard, `a`, `ArrowLeft`",
121
+ category: "keyboard",
122
+ args: import_mcpBundle.z.object({
123
+ key: import_mcpBundle.z.string().describe("Name of the key to press or a character to generate, such as `ArrowLeft` or `a`")
124
+ }),
125
+ toolName: "browser_press_key",
126
+ toolParams: ({ key }) => ({ key })
127
+ });
128
+ const type = (0, import_command.declareCommand)({
129
+ name: "type",
130
+ description: "Type text into editable element",
131
+ category: "core",
132
+ args: import_mcpBundle.z.object({
133
+ text: import_mcpBundle.z.string().describe("Text to type into the element")
134
+ }),
135
+ options: import_mcpBundle.z.object({
136
+ submit: import_mcpBundle.z.boolean().optional().describe("Whether to submit entered text (press Enter after)")
137
+ }),
138
+ toolName: "browser_press_sequentially",
139
+ toolParams: ({ text, submit }) => ({ text, submit })
140
+ });
141
+ const keydown = (0, import_command.declareCommand)({
142
+ name: "keydown",
143
+ description: "Press a key down on the keyboard",
144
+ category: "keyboard",
145
+ args: import_mcpBundle.z.object({
146
+ key: import_mcpBundle.z.string().describe("Name of the key to press or a character to generate, such as `ArrowLeft` or `a`")
147
+ }),
148
+ toolName: "browser_keydown",
149
+ toolParams: ({ key }) => ({ key })
150
+ });
151
+ const keyup = (0, import_command.declareCommand)({
152
+ name: "keyup",
153
+ description: "Press a key up on the keyboard",
154
+ category: "keyboard",
155
+ args: import_mcpBundle.z.object({
156
+ key: import_mcpBundle.z.string().describe("Name of the key to press or a character to generate, such as `ArrowLeft` or `a`")
157
+ }),
158
+ toolName: "browser_keyup",
159
+ toolParams: ({ key }) => ({ key })
160
+ });
161
+ const mouseMove = (0, import_command.declareCommand)({
162
+ name: "mousemove",
163
+ description: "Move mouse to a given position",
164
+ category: "mouse",
165
+ args: import_mcpBundle.z.object({
166
+ x: numberArg.describe("X coordinate"),
167
+ y: numberArg.describe("Y coordinate")
168
+ }),
169
+ toolName: "browser_mouse_move_xy",
170
+ toolParams: ({ x, y }) => ({ x, y })
171
+ });
172
+ const mouseDown = (0, import_command.declareCommand)({
173
+ name: "mousedown",
174
+ description: "Press mouse down",
175
+ category: "mouse",
176
+ args: import_mcpBundle.z.object({
177
+ button: import_mcpBundle.z.string().optional().describe("Button to press, defaults to left")
178
+ }),
179
+ toolName: "browser_mouse_down",
180
+ toolParams: ({ button }) => ({ button })
181
+ });
182
+ const mouseUp = (0, import_command.declareCommand)({
183
+ name: "mouseup",
184
+ description: "Press mouse up",
185
+ category: "mouse",
186
+ args: import_mcpBundle.z.object({
187
+ button: import_mcpBundle.z.string().optional().describe("Button to press, defaults to left")
188
+ }),
189
+ toolName: "browser_mouse_up",
190
+ toolParams: ({ button }) => ({ button })
191
+ });
192
+ const mouseWheel = (0, import_command.declareCommand)({
193
+ name: "mousewheel",
194
+ description: "Scroll mouse wheel",
195
+ category: "mouse",
196
+ args: import_mcpBundle.z.object({
197
+ dx: numberArg.describe("X delta"),
198
+ dy: numberArg.describe("Y delta")
199
+ }),
200
+ toolName: "browser_mouse_wheel",
201
+ toolParams: ({ dx: deltaX, dy: deltaY }) => ({ deltaX, deltaY })
202
+ });
203
+ const click = (0, import_command.declareCommand)({
204
+ name: "click",
205
+ description: "Perform click on a web page",
206
+ category: "core",
207
+ args: import_mcpBundle.z.object({
208
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector"),
209
+ button: import_mcpBundle.z.string().optional().describe("Button to click, defaults to left")
210
+ }),
211
+ options: import_mcpBundle.z.object({
212
+ modifiers: import_mcpBundle.z.array(import_mcpBundle.z.string()).optional().describe("Modifier keys to press")
213
+ }),
214
+ toolName: "browser_click",
215
+ toolParams: ({ target, button, modifiers }) => ({ ...asRef(target), button, modifiers })
216
+ });
217
+ const doubleClick = (0, import_command.declareCommand)({
218
+ name: "dblclick",
219
+ description: "Perform double click on a web page",
220
+ category: "core",
221
+ args: import_mcpBundle.z.object({
222
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector"),
223
+ button: import_mcpBundle.z.string().optional().describe("Button to click, defaults to left")
224
+ }),
225
+ options: import_mcpBundle.z.object({
226
+ modifiers: import_mcpBundle.z.array(import_mcpBundle.z.string()).optional().describe("Modifier keys to press")
227
+ }),
228
+ toolName: "browser_click",
229
+ toolParams: ({ target, button, modifiers }) => ({ ...asRef(target), button, modifiers, doubleClick: true })
230
+ });
231
+ const drag = (0, import_command.declareCommand)({
232
+ name: "drag",
233
+ description: "Perform drag and drop between two elements",
234
+ category: "core",
235
+ args: import_mcpBundle.z.object({
236
+ startElement: import_mcpBundle.z.string().describe("Exact source element reference from the page snapshot, or a unique element selector"),
237
+ endElement: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector")
238
+ }),
239
+ toolName: "browser_drag",
240
+ toolParams: ({ startElement, endElement }) => {
241
+ const start = asRef(startElement);
242
+ const end = asRef(endElement);
243
+ return { startRef: start.ref, startSelector: start.selector, endRef: end.ref, endSelector: end.selector };
244
+ }
245
+ });
246
+ const fill = (0, import_command.declareCommand)({
247
+ name: "fill",
248
+ description: "Fill text into editable element",
249
+ category: "core",
250
+ args: import_mcpBundle.z.object({
251
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector"),
252
+ text: import_mcpBundle.z.string().describe("Text to fill into the element")
253
+ }),
254
+ options: import_mcpBundle.z.object({
255
+ submit: import_mcpBundle.z.boolean().optional().describe("Whether to submit entered text (press Enter after)")
256
+ }),
257
+ toolName: "browser_type",
258
+ toolParams: ({ target, text, submit }) => ({ ...asRef(target), text, submit })
259
+ });
260
+ const hover = (0, import_command.declareCommand)({
261
+ name: "hover",
262
+ description: "Hover over element on page",
263
+ category: "core",
264
+ args: import_mcpBundle.z.object({
265
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector")
266
+ }),
267
+ toolName: "browser_hover",
268
+ toolParams: ({ target }) => ({ ...asRef(target) })
269
+ });
270
+ const select = (0, import_command.declareCommand)({
271
+ name: "select",
272
+ description: "Select an option in a dropdown",
273
+ category: "core",
274
+ args: import_mcpBundle.z.object({
275
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector"),
276
+ val: import_mcpBundle.z.string().describe("Value to select in the dropdown")
277
+ }),
278
+ toolName: "browser_select_option",
279
+ toolParams: ({ target, val: value }) => ({ ...asRef(target), values: [value] })
280
+ });
281
+ const fileUpload = (0, import_command.declareCommand)({
282
+ name: "upload",
283
+ description: "Upload one or multiple files",
284
+ category: "core",
285
+ args: import_mcpBundle.z.object({
286
+ file: import_mcpBundle.z.string().describe("The absolute paths to the files to upload")
287
+ }),
288
+ toolName: "browser_file_upload",
289
+ toolParams: ({ file }) => ({ paths: [file] })
290
+ });
291
+ const check = (0, import_command.declareCommand)({
292
+ name: "check",
293
+ description: "Check a checkbox or radio button",
294
+ category: "core",
295
+ args: import_mcpBundle.z.object({
296
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector")
297
+ }),
298
+ toolName: "browser_check",
299
+ toolParams: ({ target }) => ({ ...asRef(target) })
300
+ });
301
+ const uncheck = (0, import_command.declareCommand)({
302
+ name: "uncheck",
303
+ description: "Uncheck a checkbox or radio button",
304
+ category: "core",
305
+ args: import_mcpBundle.z.object({
306
+ target: import_mcpBundle.z.string().describe("Exact target element reference from the page snapshot, or a unique element selector")
307
+ }),
308
+ toolName: "browser_uncheck",
309
+ toolParams: ({ target }) => ({ ...asRef(target) })
310
+ });
311
+ const snapshot = (0, import_command.declareCommand)({
312
+ name: "snapshot",
313
+ description: "Capture page snapshot to obtain element ref",
314
+ category: "core",
315
+ args: import_mcpBundle.z.object({
316
+ element: import_mcpBundle.z.string().optional().describe("Element selector of the root element to capture a partial snapshot instead of the whole page")
317
+ }),
318
+ options: import_mcpBundle.z.object({
319
+ filename: import_mcpBundle.z.string().optional().describe("Save snapshot to markdown file instead of returning it in the response."),
320
+ depth: numberArg.optional().describe("Limit snapshot depth, unlimited by default.")
321
+ }),
322
+ toolName: "browser_snapshot",
323
+ toolParams: ({ filename, element, depth }) => ({ filename, selector: element, depth })
324
+ });
325
+ const evaluate = (0, import_command.declareCommand)({
326
+ name: "eval",
327
+ description: "Evaluate JavaScript expression on page or element",
328
+ category: "core",
329
+ args: import_mcpBundle.z.object({
330
+ func: import_mcpBundle.z.string().describe("() => { /* code */ } or (element) => { /* code */ } when element is provided"),
331
+ element: import_mcpBundle.z.string().optional().describe("Exact target element reference from the page snapshot, or a unique element selector")
332
+ }),
333
+ options: import_mcpBundle.z.object({
334
+ filename: import_mcpBundle.z.string().optional().describe("Save evaluation result to a file instead of returning it in the response.")
335
+ }),
336
+ toolName: "browser_evaluate",
337
+ toolParams: ({ func, element, filename }) => ({ function: func, filename, ...asRef(element) })
338
+ });
339
+ const dialogAccept = (0, import_command.declareCommand)({
340
+ name: "dialog-accept",
341
+ description: "Accept a dialog",
342
+ category: "core",
343
+ args: import_mcpBundle.z.object({
344
+ prompt: import_mcpBundle.z.string().optional().describe("The text of the prompt in case of a prompt dialog.")
345
+ }),
346
+ toolName: "browser_handle_dialog",
347
+ toolParams: ({ prompt: promptText }) => ({ accept: true, promptText })
348
+ });
349
+ const dialogDismiss = (0, import_command.declareCommand)({
350
+ name: "dialog-dismiss",
351
+ description: "Dismiss a dialog",
352
+ category: "core",
353
+ args: import_mcpBundle.z.object({}),
354
+ toolName: "browser_handle_dialog",
355
+ toolParams: () => ({ accept: false })
356
+ });
357
+ const resize = (0, import_command.declareCommand)({
358
+ name: "resize",
359
+ description: "Resize the browser window",
360
+ category: "core",
361
+ args: import_mcpBundle.z.object({
362
+ w: numberArg.describe("Width of the browser window"),
363
+ h: numberArg.describe("Height of the browser window")
364
+ }),
365
+ toolName: "browser_resize",
366
+ toolParams: ({ w: width, h: height }) => ({ width, height })
367
+ });
368
+ const runCode = (0, import_command.declareCommand)({
369
+ name: "run-code",
370
+ description: "Run Playwright code snippet",
371
+ category: "devtools",
372
+ args: import_mcpBundle.z.object({
373
+ code: import_mcpBundle.z.string().describe("A JavaScript function containing Playwright code to execute. It will be invoked with a single argument, page, which you can use for any page interaction.")
374
+ }),
375
+ toolName: "browser_run_code",
376
+ toolParams: ({ code }) => ({ code })
377
+ });
378
+ const tabList = (0, import_command.declareCommand)({
379
+ name: "tab-list",
380
+ description: "List all tabs",
381
+ category: "tabs",
382
+ args: import_mcpBundle.z.object({}),
383
+ toolName: "browser_tabs",
384
+ toolParams: () => ({ action: "list" })
385
+ });
386
+ const tabNew = (0, import_command.declareCommand)({
387
+ name: "tab-new",
388
+ description: "Create a new tab",
389
+ category: "tabs",
390
+ args: import_mcpBundle.z.object({
391
+ url: import_mcpBundle.z.string().optional().describe("The URL to navigate to in the new tab. If omitted, the new tab will be blank.")
392
+ }),
393
+ toolName: "browser_tabs",
394
+ toolParams: ({ url }) => ({ action: "new", url })
395
+ });
396
+ const tabClose = (0, import_command.declareCommand)({
397
+ name: "tab-close",
398
+ description: "Close a browser tab",
399
+ category: "tabs",
400
+ args: import_mcpBundle.z.object({
401
+ index: numberArg.optional().describe("Tab index. If omitted, current tab is closed.")
402
+ }),
403
+ toolName: "browser_tabs",
404
+ toolParams: ({ index }) => ({ action: "close", index })
405
+ });
406
+ const tabSelect = (0, import_command.declareCommand)({
407
+ name: "tab-select",
408
+ description: "Select a browser tab",
409
+ category: "tabs",
410
+ args: import_mcpBundle.z.object({
411
+ index: numberArg.describe("Tab index")
412
+ }),
413
+ toolName: "browser_tabs",
414
+ toolParams: ({ index }) => ({ action: "select", index })
415
+ });
416
+ const stateLoad = (0, import_command.declareCommand)({
417
+ name: "state-load",
418
+ description: "Loads browser storage (authentication) state from a file",
419
+ category: "storage",
420
+ args: import_mcpBundle.z.object({
421
+ filename: import_mcpBundle.z.string().describe("File name to load the storage state from.")
422
+ }),
423
+ toolName: "browser_set_storage_state",
424
+ toolParams: ({ filename }) => ({ filename })
425
+ });
426
+ const stateSave = (0, import_command.declareCommand)({
427
+ name: "state-save",
428
+ description: "Saves the current storage (authentication) state to a file",
429
+ category: "storage",
430
+ args: import_mcpBundle.z.object({
431
+ filename: import_mcpBundle.z.string().optional().describe("File name to save the storage state to.")
432
+ }),
433
+ toolName: "browser_storage_state",
434
+ toolParams: ({ filename }) => ({ filename })
435
+ });
436
+ const cookieList = (0, import_command.declareCommand)({
437
+ name: "cookie-list",
438
+ description: "List all cookies (optionally filtered by domain/path)",
439
+ category: "storage",
440
+ args: import_mcpBundle.z.object({}),
441
+ options: import_mcpBundle.z.object({
442
+ domain: import_mcpBundle.z.string().optional().describe("Filter cookies by domain"),
443
+ path: import_mcpBundle.z.string().optional().describe("Filter cookies by path")
444
+ }),
445
+ toolName: "browser_cookie_list",
446
+ toolParams: ({ domain, path }) => ({ domain, path })
447
+ });
448
+ const cookieGet = (0, import_command.declareCommand)({
449
+ name: "cookie-get",
450
+ description: "Get a specific cookie by name",
451
+ category: "storage",
452
+ args: import_mcpBundle.z.object({
453
+ name: import_mcpBundle.z.string().describe("Cookie name")
454
+ }),
455
+ toolName: "browser_cookie_get",
456
+ toolParams: ({ name }) => ({ name })
457
+ });
458
+ const cookieSet = (0, import_command.declareCommand)({
459
+ name: "cookie-set",
460
+ description: "Set a cookie with optional flags",
461
+ category: "storage",
462
+ args: import_mcpBundle.z.object({
463
+ name: import_mcpBundle.z.string().describe("Cookie name"),
464
+ value: import_mcpBundle.z.string().describe("Cookie value")
465
+ }),
466
+ options: import_mcpBundle.z.object({
467
+ domain: import_mcpBundle.z.string().optional().describe("Cookie domain"),
468
+ path: import_mcpBundle.z.string().optional().describe("Cookie path"),
469
+ expires: numberArg.optional().describe("Cookie expiration as Unix timestamp"),
470
+ httpOnly: import_mcpBundle.z.boolean().optional().describe("Whether the cookie is HTTP only"),
471
+ secure: import_mcpBundle.z.boolean().optional().describe("Whether the cookie is secure"),
472
+ sameSite: import_mcpBundle.z.enum(["Strict", "Lax", "None"]).optional().describe("Cookie SameSite attribute")
473
+ }),
474
+ toolName: "browser_cookie_set",
475
+ toolParams: ({ name, value, domain, path, expires, httpOnly, secure, sameSite }) => ({ name, value, domain, path, expires, httpOnly, secure, sameSite })
476
+ });
477
+ const cookieDelete = (0, import_command.declareCommand)({
478
+ name: "cookie-delete",
479
+ description: "Delete a specific cookie",
480
+ category: "storage",
481
+ args: import_mcpBundle.z.object({
482
+ name: import_mcpBundle.z.string().describe("Cookie name")
483
+ }),
484
+ toolName: "browser_cookie_delete",
485
+ toolParams: ({ name }) => ({ name })
486
+ });
487
+ const cookieClear = (0, import_command.declareCommand)({
488
+ name: "cookie-clear",
489
+ description: "Clear all cookies",
490
+ category: "storage",
491
+ args: import_mcpBundle.z.object({}),
492
+ toolName: "browser_cookie_clear",
493
+ toolParams: () => ({})
494
+ });
495
+ const localStorageList = (0, import_command.declareCommand)({
496
+ name: "localstorage-list",
497
+ description: "List all localStorage key-value pairs",
498
+ category: "storage",
499
+ args: import_mcpBundle.z.object({}),
500
+ toolName: "browser_localstorage_list",
501
+ toolParams: () => ({})
502
+ });
503
+ const localStorageGet = (0, import_command.declareCommand)({
504
+ name: "localstorage-get",
505
+ description: "Get a localStorage item by key",
506
+ category: "storage",
507
+ args: import_mcpBundle.z.object({
508
+ key: import_mcpBundle.z.string().describe("Key to get")
509
+ }),
510
+ toolName: "browser_localstorage_get",
511
+ toolParams: ({ key }) => ({ key })
512
+ });
513
+ const localStorageSet = (0, import_command.declareCommand)({
514
+ name: "localstorage-set",
515
+ description: "Set a localStorage item",
516
+ category: "storage",
517
+ args: import_mcpBundle.z.object({
518
+ key: import_mcpBundle.z.string().describe("Key to set"),
519
+ value: import_mcpBundle.z.string().describe("Value to set")
520
+ }),
521
+ toolName: "browser_localstorage_set",
522
+ toolParams: ({ key, value }) => ({ key, value })
523
+ });
524
+ const localStorageDelete = (0, import_command.declareCommand)({
525
+ name: "localstorage-delete",
526
+ description: "Delete a localStorage item",
527
+ category: "storage",
528
+ args: import_mcpBundle.z.object({
529
+ key: import_mcpBundle.z.string().describe("Key to delete")
530
+ }),
531
+ toolName: "browser_localstorage_delete",
532
+ toolParams: ({ key }) => ({ key })
533
+ });
534
+ const localStorageClear = (0, import_command.declareCommand)({
535
+ name: "localstorage-clear",
536
+ description: "Clear all localStorage",
537
+ category: "storage",
538
+ args: import_mcpBundle.z.object({}),
539
+ toolName: "browser_localstorage_clear",
540
+ toolParams: () => ({})
541
+ });
542
+ const sessionStorageList = (0, import_command.declareCommand)({
543
+ name: "sessionstorage-list",
544
+ description: "List all sessionStorage key-value pairs",
545
+ category: "storage",
546
+ args: import_mcpBundle.z.object({}),
547
+ toolName: "browser_sessionstorage_list",
548
+ toolParams: () => ({})
549
+ });
550
+ const sessionStorageGet = (0, import_command.declareCommand)({
551
+ name: "sessionstorage-get",
552
+ description: "Get a sessionStorage item by key",
553
+ category: "storage",
554
+ args: import_mcpBundle.z.object({
555
+ key: import_mcpBundle.z.string().describe("Key to get")
556
+ }),
557
+ toolName: "browser_sessionstorage_get",
558
+ toolParams: ({ key }) => ({ key })
559
+ });
560
+ const sessionStorageSet = (0, import_command.declareCommand)({
561
+ name: "sessionstorage-set",
562
+ description: "Set a sessionStorage item",
563
+ category: "storage",
564
+ args: import_mcpBundle.z.object({
565
+ key: import_mcpBundle.z.string().describe("Key to set"),
566
+ value: import_mcpBundle.z.string().describe("Value to set")
567
+ }),
568
+ toolName: "browser_sessionstorage_set",
569
+ toolParams: ({ key, value }) => ({ key, value })
570
+ });
571
+ const sessionStorageDelete = (0, import_command.declareCommand)({
572
+ name: "sessionstorage-delete",
573
+ description: "Delete a sessionStorage item",
574
+ category: "storage",
575
+ args: import_mcpBundle.z.object({
576
+ key: import_mcpBundle.z.string().describe("Key to delete")
577
+ }),
578
+ toolName: "browser_sessionstorage_delete",
579
+ toolParams: ({ key }) => ({ key })
580
+ });
581
+ const sessionStorageClear = (0, import_command.declareCommand)({
582
+ name: "sessionstorage-clear",
583
+ description: "Clear all sessionStorage",
584
+ category: "storage",
585
+ args: import_mcpBundle.z.object({}),
586
+ toolName: "browser_sessionstorage_clear",
587
+ toolParams: () => ({})
588
+ });
589
+ const routeMock = (0, import_command.declareCommand)({
590
+ name: "route",
591
+ description: "Mock network requests matching a URL pattern",
592
+ category: "network",
593
+ args: import_mcpBundle.z.object({
594
+ pattern: import_mcpBundle.z.string().describe('URL pattern to match (e.g., "**/api/users")')
595
+ }),
596
+ options: import_mcpBundle.z.object({
597
+ status: numberArg.optional().describe("HTTP status code (default: 200)"),
598
+ body: import_mcpBundle.z.string().optional().describe("Response body (text or JSON string)"),
599
+ ["content-type"]: import_mcpBundle.z.string().optional().describe("Content-Type header"),
600
+ header: import_mcpBundle.z.union([import_mcpBundle.z.string(), import_mcpBundle.z.array(import_mcpBundle.z.string())]).optional().transform((v) => v ? Array.isArray(v) ? v : [v] : void 0).describe('Header to add in "Name: Value" format (repeatable)'),
601
+ ["remove-header"]: import_mcpBundle.z.string().optional().describe("Comma-separated header names to remove")
602
+ }),
603
+ toolName: "browser_route",
604
+ toolParams: ({ pattern, status, body, ["content-type"]: contentType, header: headers, ["remove-header"]: removeHeaders }) => ({
605
+ pattern,
606
+ status,
607
+ body,
608
+ contentType,
609
+ headers,
610
+ removeHeaders
611
+ })
612
+ });
613
+ const routeList = (0, import_command.declareCommand)({
614
+ name: "route-list",
615
+ description: "List all active network routes",
616
+ category: "network",
617
+ args: import_mcpBundle.z.object({}),
618
+ toolName: "browser_route_list",
619
+ toolParams: () => ({})
620
+ });
621
+ const unroute = (0, import_command.declareCommand)({
622
+ name: "unroute",
623
+ description: "Remove routes matching a pattern (or all routes)",
624
+ category: "network",
625
+ args: import_mcpBundle.z.object({
626
+ pattern: import_mcpBundle.z.string().optional().describe("URL pattern to unroute (omit to remove all)")
627
+ }),
628
+ toolName: "browser_unroute",
629
+ toolParams: ({ pattern }) => ({ pattern })
630
+ });
631
+ const networkStateSet = (0, import_command.declareCommand)({
632
+ name: "network-state-set",
633
+ description: "Set the browser network state to online or offline",
634
+ category: "network",
635
+ args: import_mcpBundle.z.object({
636
+ state: import_mcpBundle.z.enum(["online", "offline"]).describe('Set to "offline" to simulate offline mode, "online" to restore network connectivity')
637
+ }),
638
+ toolName: "browser_network_state_set",
639
+ toolParams: ({ state }) => ({ state })
640
+ });
641
+ const screenshot = (0, import_command.declareCommand)({
642
+ name: "screenshot",
643
+ description: "screenshot of the current page or element",
644
+ category: "export",
645
+ args: import_mcpBundle.z.object({
646
+ target: import_mcpBundle.z.string().optional().describe("Exact target element reference from the page snapshot, or a unique element selector.")
647
+ }),
648
+ options: import_mcpBundle.z.object({
649
+ filename: import_mcpBundle.z.string().optional().describe("File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg}` if not specified."),
650
+ ["full-page"]: import_mcpBundle.z.boolean().optional().describe("When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport.")
651
+ }),
652
+ toolName: "browser_take_screenshot",
653
+ toolParams: ({ target, filename, ["full-page"]: fullPage }) => ({ filename, ...asRef(target), fullPage })
654
+ });
655
+ const pdfSave = (0, import_command.declareCommand)({
656
+ name: "pdf",
657
+ description: "Save page as PDF",
658
+ category: "export",
659
+ args: import_mcpBundle.z.object({}),
660
+ options: import_mcpBundle.z.object({
661
+ filename: import_mcpBundle.z.string().optional().describe("File name to save the pdf to. Defaults to `page-{timestamp}.pdf` if not specified.")
662
+ }),
663
+ toolName: "browser_pdf_save",
664
+ toolParams: ({ filename }) => ({ filename })
665
+ });
666
+ const consoleList = (0, import_command.declareCommand)({
667
+ name: "console",
668
+ description: "List console messages",
669
+ category: "devtools",
670
+ args: import_mcpBundle.z.object({
671
+ ["min-level"]: import_mcpBundle.z.string().optional().describe('Level of the console messages to return. Each level includes the messages of more severe levels. Defaults to "info".')
672
+ }),
673
+ options: import_mcpBundle.z.object({
674
+ clear: import_mcpBundle.z.boolean().optional().describe("Whether to clear the console list")
675
+ }),
676
+ toolName: ({ clear }) => clear ? "browser_console_clear" : "browser_console_messages",
677
+ toolParams: ({ ["min-level"]: level, clear }) => clear ? {} : { level }
678
+ });
679
+ const networkRequests = (0, import_command.declareCommand)({
680
+ name: "network",
681
+ description: "List all network requests since loading the page",
682
+ category: "devtools",
683
+ args: import_mcpBundle.z.object({}),
684
+ options: import_mcpBundle.z.object({
685
+ static: import_mcpBundle.z.boolean().optional().describe("Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false."),
686
+ ["request-body"]: import_mcpBundle.z.boolean().optional().describe("Whether to include request body. Defaults to false."),
687
+ ["request-headers"]: import_mcpBundle.z.boolean().optional().describe("Whether to include request headers. Defaults to false."),
688
+ filter: import_mcpBundle.z.string().optional().describe('Only return requests whose URL matches this regexp (e.g. "/api/.*user").'),
689
+ clear: import_mcpBundle.z.boolean().optional().describe("Whether to clear the network list")
690
+ }),
691
+ toolName: ({ clear }) => clear ? "browser_network_clear" : "browser_network_requests",
692
+ toolParams: ({ static: s, "request-body": requestBody, "request-headers": requestHeaders, filter, clear }) => clear ? {} : { static: s, requestBody, requestHeaders, filter }
693
+ });
694
+ const tracingStart = (0, import_command.declareCommand)({
695
+ name: "tracing-start",
696
+ description: "Start trace recording",
697
+ category: "devtools",
698
+ args: import_mcpBundle.z.object({}),
699
+ toolName: "browser_start_tracing",
700
+ toolParams: () => ({})
701
+ });
702
+ const tracingStop = (0, import_command.declareCommand)({
703
+ name: "tracing-stop",
704
+ description: "Stop trace recording",
705
+ category: "devtools",
706
+ args: import_mcpBundle.z.object({}),
707
+ toolName: "browser_stop_tracing",
708
+ toolParams: () => ({})
709
+ });
710
+ const videoStart = (0, import_command.declareCommand)({
711
+ name: "video-start",
712
+ description: "Start video recording",
713
+ category: "devtools",
714
+ args: import_mcpBundle.z.object({}),
715
+ toolName: "browser_start_video",
716
+ toolParams: () => ({})
717
+ });
718
+ const videoStop = (0, import_command.declareCommand)({
719
+ name: "video-stop",
720
+ description: "Stop video recording",
721
+ category: "devtools",
722
+ options: import_mcpBundle.z.object({
723
+ filename: import_mcpBundle.z.string().optional().describe("Filename to save the video.")
724
+ }),
725
+ toolName: "browser_stop_video",
726
+ toolParams: ({ filename }) => ({ filename })
727
+ });
728
+ const devtoolsShow = (0, import_command.declareCommand)({
729
+ name: "show",
730
+ description: "Show browser DevTools",
731
+ category: "devtools",
732
+ args: import_mcpBundle.z.object({}),
733
+ toolName: "",
734
+ toolParams: () => ({})
735
+ });
736
+ const resume = (0, import_command.declareCommand)({
737
+ name: "resume",
738
+ description: "Resume the test execution",
739
+ category: "devtools",
740
+ args: import_mcpBundle.z.object({}),
741
+ toolName: "browser_resume",
742
+ toolParams: ({ step }) => ({ step })
743
+ });
744
+ const stepOver = (0, import_command.declareCommand)({
745
+ name: "step-over",
746
+ description: "Step over the next call in the test",
747
+ category: "devtools",
748
+ args: import_mcpBundle.z.object({}),
749
+ toolName: "browser_resume",
750
+ toolParams: ({}) => ({ step: true })
751
+ });
752
+ const pauseAt = (0, import_command.declareCommand)({
753
+ name: "pause-at",
754
+ description: "Run the test up to a specific location and pause there",
755
+ category: "devtools",
756
+ args: import_mcpBundle.z.object({
757
+ location: import_mcpBundle.z.string().describe('Location to pause at. Format is <file>:<line>, e.g. "example.spec.ts:42".')
758
+ }),
759
+ toolName: "browser_resume",
760
+ toolParams: ({ location }) => ({ location })
761
+ });
762
+ const sessionList = (0, import_command.declareCommand)({
763
+ name: "list",
764
+ description: "List browser sessions",
765
+ category: "browsers",
766
+ args: import_mcpBundle.z.object({}),
767
+ options: import_mcpBundle.z.object({
768
+ all: import_mcpBundle.z.boolean().optional().describe("List all browser sessions across all workspaces")
769
+ }),
770
+ toolName: "",
771
+ toolParams: () => ({})
772
+ });
773
+ const sessionCloseAll = (0, import_command.declareCommand)({
774
+ name: "close-all",
775
+ description: "Close all browser sessions",
776
+ category: "browsers",
777
+ toolName: "",
778
+ toolParams: () => ({})
779
+ });
780
+ const killAll = (0, import_command.declareCommand)({
781
+ name: "kill-all",
782
+ description: "Forcefully kill all browser sessions (for stale/zombie processes)",
783
+ category: "browsers",
784
+ toolName: "",
785
+ toolParams: () => ({})
786
+ });
787
+ const deleteData = (0, import_command.declareCommand)({
788
+ name: "delete-data",
789
+ description: "Delete session data",
790
+ category: "core",
791
+ toolName: "",
792
+ toolParams: () => ({})
793
+ });
794
+ const configPrint = (0, import_command.declareCommand)({
795
+ name: "config-print",
796
+ description: "Print the final resolved config after merging CLI options, environment variables and config file.",
797
+ category: "config",
798
+ hidden: true,
799
+ toolName: "browser_get_config",
800
+ toolParams: () => ({})
801
+ });
802
+ const install = (0, import_command.declareCommand)({
803
+ name: "install",
804
+ description: "Initialize workspace",
805
+ category: "install",
806
+ args: import_mcpBundle.z.object({}),
807
+ options: import_mcpBundle.z.object({
808
+ skills: import_mcpBundle.z.boolean().optional().describe("Install skills for Claude / GitHub Copilot")
809
+ }),
810
+ toolName: "",
811
+ toolParams: () => ({})
812
+ });
813
+ const installBrowser = (0, import_command.declareCommand)({
814
+ name: "install-browser",
815
+ description: "Install browser",
816
+ category: "install",
817
+ args: import_mcpBundle.z.object({
818
+ browser: import_mcpBundle.z.string().optional().describe("Browser to install")
819
+ }),
820
+ options: import_mcpBundle.z.object({
821
+ ["with-deps"]: import_mcpBundle.z.boolean().optional().describe("Install system dependencies for browsers"),
822
+ ["dry-run"]: import_mcpBundle.z.boolean().optional().describe("Do not execute installation, only print information"),
823
+ list: import_mcpBundle.z.boolean().optional().describe("Prints list of browsers from all Playwright installations"),
824
+ force: import_mcpBundle.z.boolean().optional().describe("Force reinstall of already installed browsers"),
825
+ ["only-shell"]: import_mcpBundle.z.boolean().optional().describe("Only install headless shell when installing Chromium"),
826
+ ["no-shell"]: import_mcpBundle.z.boolean().optional().describe("Do not install Chromium headless shell")
827
+ }),
828
+ toolName: "",
829
+ toolParams: () => ({})
830
+ });
831
+ const tray = (0, import_command.declareCommand)({
832
+ name: "tray",
833
+ description: "Run tray",
834
+ category: "config",
835
+ hidden: true,
836
+ toolName: "",
837
+ toolParams: () => ({})
838
+ });
839
+ const commandsArray = [
840
+ // core category
841
+ open,
842
+ attach,
843
+ close,
844
+ goto,
845
+ type,
846
+ click,
847
+ doubleClick,
848
+ fill,
849
+ drag,
850
+ hover,
851
+ select,
852
+ fileUpload,
853
+ check,
854
+ uncheck,
855
+ snapshot,
856
+ evaluate,
857
+ consoleList,
858
+ dialogAccept,
859
+ dialogDismiss,
860
+ resize,
861
+ runCode,
862
+ deleteData,
863
+ // navigation category
864
+ goBack,
865
+ goForward,
866
+ reload,
867
+ // keyboard category
868
+ pressKey,
869
+ keydown,
870
+ keyup,
871
+ // mouse category
872
+ mouseMove,
873
+ mouseDown,
874
+ mouseUp,
875
+ mouseWheel,
876
+ // export category
877
+ screenshot,
878
+ pdfSave,
879
+ // tabs category
880
+ tabList,
881
+ tabNew,
882
+ tabClose,
883
+ tabSelect,
884
+ // storage category
885
+ stateLoad,
886
+ stateSave,
887
+ cookieList,
888
+ cookieGet,
889
+ cookieSet,
890
+ cookieDelete,
891
+ cookieClear,
892
+ localStorageList,
893
+ localStorageGet,
894
+ localStorageSet,
895
+ localStorageDelete,
896
+ localStorageClear,
897
+ sessionStorageList,
898
+ sessionStorageGet,
899
+ sessionStorageSet,
900
+ sessionStorageDelete,
901
+ sessionStorageClear,
902
+ // network category
903
+ routeMock,
904
+ routeList,
905
+ unroute,
906
+ networkStateSet,
907
+ // config category
908
+ configPrint,
909
+ // install category
910
+ install,
911
+ installBrowser,
912
+ // devtools category
913
+ networkRequests,
914
+ tracingStart,
915
+ tracingStop,
916
+ videoStart,
917
+ videoStop,
918
+ devtoolsShow,
919
+ pauseAt,
920
+ resume,
921
+ stepOver,
922
+ // session category
923
+ sessionList,
924
+ sessionCloseAll,
925
+ killAll,
926
+ // Hidden commands
927
+ tray
928
+ ];
929
+ const commands = Object.fromEntries(commandsArray.map((cmd) => [cmd.name, cmd]));
930
+ // Annotate the CommonJS export names for ESM import in node:
931
+ 0 && (module.exports = {
932
+ commands
933
+ });