rechrome 1.35.0 → 1.36.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.
- package/README.md +74 -0
- package/extension/lib/background.mjs +28 -1
- package/extension/lib/ui/connect.js +29 -19
- package/listeners.js +17 -1
- package/listeners.ts +7 -2
- package/package.json +5 -3
- package/rechrome.js +64 -16
- package/rechrome.ts +64 -16
- package/scoped-upload.js +165 -0
- package/scoped-upload.ts +140 -0
- package/serve.js +30 -2
- package/serve.ts +30 -2
- package/vendor/playwright-cli/node_modules/playwright-core/lib/coreBundle.js +360 -256
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/help.json +9 -4
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/program.js +6 -1
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/session.js +10 -12
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/extension.js +8 -5
- package/vendor/playwright-cli/node_modules/playwright-core/lib/androidServerImpl.js +0 -65
- package/vendor/playwright-cli/node_modules/playwright-core/lib/browserServerImpl.js +0 -120
- package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/driver.js +0 -98
- package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/program.js +0 -597
- package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -74
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/android.js +0 -361
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/api.js +0 -137
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/artifact.js +0 -79
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browser.js +0 -169
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browserContext.js +0 -583
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browserType.js +0 -153
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/cdpSession.js +0 -55
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/channelOwner.js +0 -194
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientHelper.js +0 -64
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -55
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientStackTrace.js +0 -69
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clock.js +0 -68
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/connect.js +0 -143
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/connection.js +0 -322
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/consoleMessage.js +0 -61
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/coverage.js +0 -44
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/debugger.js +0 -57
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/dialog.js +0 -56
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/disposable.js +0 -76
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/download.js +0 -62
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/electron.js +0 -138
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/elementHandle.js +0 -281
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/errors.js +0 -77
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/events.js +0 -103
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fetch.js +0 -367
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fileChooser.js +0 -46
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fileUtils.js +0 -34
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/frame.js +0 -404
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/harRouter.js +0 -99
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/input.js +0 -84
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/jsHandle.js +0 -105
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/jsonPipe.js +0 -39
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/localUtils.js +0 -60
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/locator.js +0 -367
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/network.js +0 -750
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/page.js +0 -729
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/platform.js +0 -77
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/playwright.js +0 -71
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/screencast.js +0 -48
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/selectors.js +0 -57
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/stream.js +0 -39
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/timeoutSettings.js +0 -79
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/tracing.js +0 -126
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/types.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/video.js +0 -68
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/waiter.js +0 -142
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/webError.js +0 -39
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/worker.js +0 -85
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/writableStream.js +0 -39
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/clockSource.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/storageScriptSource.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/webSocketMockSource.js +0 -336
- package/vendor/playwright-cli/node_modules/playwright-core/lib/inProcessFactory.js +0 -60
- package/vendor/playwright-cli/node_modules/playwright-core/lib/inprocess.js +0 -3
- package/vendor/playwright-cli/node_modules/playwright-core/lib/mcpBundle.js +0 -81
- package/vendor/playwright-cli/node_modules/playwright-core/lib/mcpBundleImpl/index.js +0 -91
- package/vendor/playwright-cli/node_modules/playwright-core/lib/outofprocess.js +0 -76
- package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/serializers.js +0 -197
- package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/validator.js +0 -3034
- package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -193
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -131
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightPipeServer.js +0 -100
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -339
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightWebSocketServer.js +0 -73
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/serverTransport.js +0 -96
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/android/android.js +0 -465
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -177
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/artifact.js +0 -127
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -571
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +0 -162
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -213
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiDeserializer.js +0 -116
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -267
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -128
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -146
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -411
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +0 -102
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -599
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +0 -106
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +0 -22
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -256
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -24
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +0 -180
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +0 -42
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -148
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +0 -261
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browser.js +0 -223
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browserContext.js +0 -703
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browserType.js +0 -338
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/callLog.js +0 -82
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -399
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -104
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -532
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -197
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -235
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -111
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -131
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -146
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -187
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -708
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1004
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -121
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -145
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -137
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -162
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/protocol.d.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/clock.js +0 -149
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -327
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/java.js +0 -274
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -247
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -52
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/language.js +0 -132
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/languages.js +0 -68
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/python.js +0 -279
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/types.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/console.js +0 -61
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/cookieStore.js +0 -206
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/debugController.js +0 -197
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/debugger.js +0 -120
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -39
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dialog.js +0 -116
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -325
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -381
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -124
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -71
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -47
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -78
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/debuggerDispatcher.js +0 -80
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -47
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -364
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/disposableDispatcher.js +0 -39
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -90
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -181
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -227
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -85
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -58
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -185
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -214
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -434
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -108
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -67
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -68
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +0 -164
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -79
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/disposable.js +0 -41
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dom.js +0 -823
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/download.js +0 -71
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/electron/electron.js +0 -272
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/electron/loader.js +0 -115
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/errors.js +0 -69
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fetch.js +0 -621
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fileChooser.js +0 -43
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -84
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -415
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -142
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -150
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -175
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -256
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -495
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -114
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/protocol.d.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/formData.js +0 -147
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/frameSelectors.js +0 -160
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/frames.js +0 -1495
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -147
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/har/harTracer.js +0 -608
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/harBackend.js +0 -157
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/helper.js +0 -96
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/index.js +0 -58
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/input.js +0 -277
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/instrumentation.js +0 -72
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/javascript.js +0 -291
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/launchApp.js +0 -127
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/localUtils.js +0 -214
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -143
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/network.js +0 -668
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/page.js +0 -884
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/pipeTransport.js +0 -89
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/playwright.js +0 -69
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/progress.js +0 -136
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/protocolError.js +0 -52
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/chat.js +0 -161
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -367
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -138
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +0 -83
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -157
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -57
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder.js +0 -540
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -177
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -371
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/index.js +0 -1395
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -1281
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -127
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/screencast.js +0 -216
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/screenshotter.js +0 -333
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/selectors.js +0 -112
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -383
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -95
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -147
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -561
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -607
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -244
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/transport.js +0 -181
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/types.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -152
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/ascii.js +0 -44
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/comparators.js +0 -139
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/crypto.js +0 -216
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/debug.js +0 -42
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/debugLogger.js +0 -122
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/disposable.js +0 -32
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/env.js +0 -73
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/eventsHelper.js +0 -41
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/expectUtils.js +0 -123
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/fileUtils.js +0 -191
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +0 -207
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/hostPlatform.js +0 -123
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/httpServer.js +0 -205
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +0 -89
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +0 -109
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +0 -78
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +0 -102
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/linuxUtils.js +0 -71
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/network.js +0 -244
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/nodePlatform.js +0 -154
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/pipeTransport.js +0 -84
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/processLauncher.js +0 -243
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/profiler.js +0 -65
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/socksProxy.js +0 -511
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/spawnAsync.js +0 -41
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/task.js +0 -51
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/userAgent.js +0 -98
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/wsServer.js +0 -121
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/zipFile.js +0 -74
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/zones.js +0 -57
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/videoRecorder.js +0 -133
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/protocol.d.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -108
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -331
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -144
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -154
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -181
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -197
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1164
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -83
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -106
- package/vendor/playwright-cli/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/browserBackend.js +0 -79
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/common.js +0 -63
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/config.js +0 -41
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/console.js +0 -66
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/context.js +0 -290
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/cookies.js +0 -152
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/devtools.js +0 -69
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/dialogs.js +0 -59
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/evaluate.js +0 -64
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/files.js +0 -60
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/form.js +0 -64
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/keyboard.js +0 -155
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/logFile.js +0 -95
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/mouse.js +0 -168
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/navigate.js +0 -106
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/network.js +0 -135
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/pdf.js +0 -48
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/response.js +0 -302
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/route.js +0 -140
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/runCode.js +0 -76
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/screenshot.js +0 -88
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/sessionLog.js +0 -74
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/snapshot.js +0 -208
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/storage.js +0 -67
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tab.js +0 -445
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tabs.js +0 -67
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tool.js +0 -47
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tools.js +0 -102
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tracing.js +0 -75
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/utils.js +0 -83
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/verify.js +0 -151
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/video.js +0 -89
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/wait.js +0 -63
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/webstorage.js +0 -223
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/command.js +0 -73
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/commands.js +0 -933
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/daemon.js +0 -178
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/helpGenerator.js +0 -173
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/program.js +0 -118
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/dashboardApp.js +0 -286
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/dashboardController.js +0 -296
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/exports.js +0 -60
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/browserFactory.js +0 -233
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/cdpRelay.js +0 -356
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/cli-stub.js +0 -7
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/config.d.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/config.js +0 -401
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/configIni.js +0 -189
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/extensionContextFactory.js +0 -59
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/index.js +0 -62
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/log.js +0 -35
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/program.js +0 -107
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/protocol.js +0 -28
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/watchdog.js +0 -44
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/installSkill.js +0 -48
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceActions.js +0 -142
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceAttachments.js +0 -69
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceCli.js +0 -80
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceConsole.js +0 -97
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceErrors.js +0 -55
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceOpen.js +0 -69
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceParser.js +0 -96
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceRequests.js +0 -158
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceScreenshot.js +0 -68
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceSnapshot.js +0 -149
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceUtils.js +0 -135
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/connect.js +0 -32
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/http.js +0 -152
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/server.js +0 -230
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/tool.js +0 -47
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +0 -455
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/assert.js +0 -31
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/colors.js +0 -72
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -245
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -1051
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/formatUtils.js +0 -64
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/headers.js +0 -53
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/imageUtils.js +0 -141
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -689
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -176
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -81
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/lruCache.js +0 -51
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +0 -114
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -464
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +0 -80
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +0 -81
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +0 -342
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +0 -43
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -386
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +0 -54
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +0 -158
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -204
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/time.js +0 -49
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +0 -66
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/entries.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotRenderer.js +0 -502
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotServer.js +0 -120
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotStorage.js +0 -89
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceLoader.js +0 -131
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModel.js +0 -366
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModernizer.js +0 -401
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceUtils.js +0 -58
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV3.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV4.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV5.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV6.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV7.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV8.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/types.js +0 -16
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -243
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +0 -262
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/yaml.js +0 -84
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils.js +0 -113
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -218
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BtGnd8kr.js +0 -32
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-CnvO0fko.js +0 -32
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BkMbME_o.js +0 -262
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-CN3cwLGD.js +0 -262
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.B4dS75f0.css +0 -1
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.DcQiWcKS.css +0 -1
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.B2ffe31o.js +0 -2
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.Df3uWWXm.js +0 -2
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +0 -1
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CmAqMvmy.js +0 -6
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.u9Eas4CP.js +0 -6
- package/vendor/playwright-cli/node_modules/playwright-core/lib/zipBundle.js +0 -34
- package/vendor/playwright-cli/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
|
@@ -1,933 +0,0 @@
|
|
|
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
|
-
});
|