@zohodesk/testinglibrary 3.2.13 → 3.2.15
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/.gitlab-ci.yml +13 -13
- package/README.md +18 -0
- package/build/common/data-generator/steps/DataGeneratorStepsHelper.js +3 -1
- package/build/core/dataGenerator/DataGenerator.js +0 -9
- package/build/core/playwright/constants/reporterConstants.js +11 -0
- package/build/core/playwright/helpers/auth/getUsers.js +2 -1
- package/build/core/playwright/reporter/helpers/mergeAbortedTests.js +78 -0
- package/build/core/playwright/setup/custom-reporter.js +3 -0
- package/build/utils/logger.js +1 -1
- package/npm-shrinkwrap.json +59 -204
- package/package.json +1 -3
- package/test-results/.last-run.json +4 -0
- package/unit_reports/unit-report.html +260 -0
- package/playwright-mcp-test/node_modules/.package-lock.json +0 -54
- package/playwright-mcp-test/node_modules/@playwright/mcp/LICENSE +0 -202
- package/playwright-mcp-test/node_modules/@playwright/mcp/README.md +0 -907
- package/playwright-mcp-test/node_modules/@playwright/mcp/cli.js +0 -24
- package/playwright-mcp-test/node_modules/@playwright/mcp/config.d.ts +0 -174
- package/playwright-mcp-test/node_modules/@playwright/mcp/index.d.ts +0 -23
- package/playwright-mcp-test/node_modules/@playwright/mcp/index.js +0 -19
- package/playwright-mcp-test/node_modules/@playwright/mcp/package.json +0 -52
- package/playwright-mcp-test/node_modules/playwright/LICENSE +0 -202
- package/playwright-mcp-test/node_modules/playwright/NOTICE +0 -5
- package/playwright-mcp-test/node_modules/playwright/README.md +0 -168
- package/playwright-mcp-test/node_modules/playwright/ThirdPartyNotices.txt +0 -6277
- package/playwright-mcp-test/node_modules/playwright/cli.js +0 -19
- package/playwright-mcp-test/node_modules/playwright/index.d.ts +0 -17
- package/playwright-mcp-test/node_modules/playwright/index.js +0 -17
- package/playwright-mcp-test/node_modules/playwright/index.mjs +0 -18
- package/playwright-mcp-test/node_modules/playwright/jsx-runtime.js +0 -42
- package/playwright-mcp-test/node_modules/playwright/jsx-runtime.mjs +0 -21
- package/playwright-mcp-test/node_modules/playwright/lib/agents/generateAgents.js +0 -368
- package/playwright-mcp-test/node_modules/playwright/lib/agents/generator.agent.md +0 -101
- package/playwright-mcp-test/node_modules/playwright/lib/agents/healer.agent.md +0 -77
- package/playwright-mcp-test/node_modules/playwright/lib/agents/planner.agent.md +0 -138
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-coverage.prompt.md +0 -31
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-generate.prompt.md +0 -8
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-heal.prompt.md +0 -6
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-plan.prompt.md +0 -9
- package/playwright-mcp-test/node_modules/playwright/lib/common/config.js +0 -280
- package/playwright-mcp-test/node_modules/playwright/lib/common/configLoader.js +0 -344
- package/playwright-mcp-test/node_modules/playwright/lib/common/esmLoaderHost.js +0 -102
- package/playwright-mcp-test/node_modules/playwright/lib/common/expectBundle.js +0 -52
- package/playwright-mcp-test/node_modules/playwright/lib/common/expectBundleImpl.js +0 -389
- package/playwright-mcp-test/node_modules/playwright/lib/common/fixtures.js +0 -302
- package/playwright-mcp-test/node_modules/playwright/lib/common/globals.js +0 -58
- package/playwright-mcp-test/node_modules/playwright/lib/common/ipc.js +0 -60
- package/playwright-mcp-test/node_modules/playwright/lib/common/poolBuilder.js +0 -85
- package/playwright-mcp-test/node_modules/playwright/lib/common/process.js +0 -104
- package/playwright-mcp-test/node_modules/playwright/lib/common/suiteUtils.js +0 -140
- package/playwright-mcp-test/node_modules/playwright/lib/common/test.js +0 -321
- package/playwright-mcp-test/node_modules/playwright/lib/common/testLoader.js +0 -101
- package/playwright-mcp-test/node_modules/playwright/lib/common/testType.js +0 -298
- package/playwright-mcp-test/node_modules/playwright/lib/common/validators.js +0 -68
- package/playwright-mcp-test/node_modules/playwright/lib/fsWatcher.js +0 -67
- package/playwright-mcp-test/node_modules/playwright/lib/index.js +0 -682
- package/playwright-mcp-test/node_modules/playwright/lib/internalsForTest.js +0 -42
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/events.js +0 -77
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/folders.js +0 -30
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/stringInternPool.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/teleReceiver.js +0 -508
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/teleSuiteUpdater.js +0 -137
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testServerConnection.js +0 -211
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testServerInterface.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testTree.js +0 -334
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/types.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/loader/loaderMain.js +0 -59
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/expect.js +0 -325
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/matcherHint.js +0 -87
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/matchers.js +0 -366
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toBeTruthy.js +0 -73
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toEqual.js +0 -99
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toHaveURL.js +0 -102
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchAriaSnapshot.js +0 -159
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchSnapshot.js +0 -341
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchText.js +0 -99
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/actions.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/browserContextFactory.js +0 -296
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/browserServerBackend.js +0 -76
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/codegen.js +0 -66
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/config.js +0 -385
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/context.js +0 -287
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/response.js +0 -228
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/sessionLog.js +0 -160
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tab.js +0 -280
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/common.js +0 -63
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/console.js +0 -44
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/dialogs.js +0 -60
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/evaluate.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/files.js +0 -58
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/form.js +0 -73
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/install.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/keyboard.js +0 -84
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/mouse.js +0 -107
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/navigate.js +0 -62
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/network.js +0 -54
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/pdf.js +0 -59
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/screenshot.js +0 -106
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/snapshot.js +0 -181
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tabs.js +0 -67
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tool.js +0 -49
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tracing.js +0 -74
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/utils.js +0 -89
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/verify.js +0 -153
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/wait.js +0 -63
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools.js +0 -80
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/watchdog.js +0 -44
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/config.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/cdpRelay.js +0 -351
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/extensionContextFactory.js +0 -75
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/protocol.js +0 -28
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/index.js +0 -61
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/log.js +0 -35
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/program.js +0 -96
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/bundle.js +0 -81
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/exports.js +0 -32
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/http.js +0 -187
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/inProcessTransport.js +0 -71
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/mdb.js +0 -206
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/proxyBackend.js +0 -128
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/server.js +0 -189
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/tool.js +0 -51
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/browserBackend.js +0 -98
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/generatorTools.js +0 -122
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/plannerTools.js +0 -46
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/seed.js +0 -82
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/streams.js +0 -39
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testBackend.js +0 -97
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testContext.js +0 -176
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testTool.js +0 -30
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testTools.js +0 -115
- package/playwright-mcp-test/node_modules/playwright/lib/mcpBundleImpl.js +0 -41
- package/playwright-mcp-test/node_modules/playwright/lib/plugins/gitCommitInfoPlugin.js +0 -198
- package/playwright-mcp-test/node_modules/playwright/lib/plugins/index.js +0 -28
- package/playwright-mcp-test/node_modules/playwright/lib/plugins/webServerPlugin.js +0 -209
- package/playwright-mcp-test/node_modules/playwright/lib/program.js +0 -411
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/base.js +0 -609
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/blob.js +0 -135
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/dot.js +0 -82
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/empty.js +0 -32
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/github.js +0 -128
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/html.js +0 -623
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/internalReporter.js +0 -130
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/json.js +0 -254
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/junit.js +0 -232
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/line.js +0 -113
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/list.js +0 -235
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/listModeReporter.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/markdown.js +0 -144
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/merge.js +0 -541
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/multiplexer.js +0 -104
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/reporterV2.js +0 -102
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/teleEmitter.js +0 -298
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/versions/blobV1.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/runner/dispatcher.js +0 -491
- package/playwright-mcp-test/node_modules/playwright/lib/runner/failureTracker.js +0 -72
- package/playwright-mcp-test/node_modules/playwright/lib/runner/lastRun.js +0 -77
- package/playwright-mcp-test/node_modules/playwright/lib/runner/loadUtils.js +0 -334
- package/playwright-mcp-test/node_modules/playwright/lib/runner/loaderHost.js +0 -89
- package/playwright-mcp-test/node_modules/playwright/lib/runner/processHost.js +0 -161
- package/playwright-mcp-test/node_modules/playwright/lib/runner/projectUtils.js +0 -241
- package/playwright-mcp-test/node_modules/playwright/lib/runner/rebase.js +0 -189
- package/playwright-mcp-test/node_modules/playwright/lib/runner/reporters.js +0 -139
- package/playwright-mcp-test/node_modules/playwright/lib/runner/sigIntWatcher.js +0 -96
- package/playwright-mcp-test/node_modules/playwright/lib/runner/taskRunner.js +0 -127
- package/playwright-mcp-test/node_modules/playwright/lib/runner/tasks.js +0 -410
- package/playwright-mcp-test/node_modules/playwright/lib/runner/testGroups.js +0 -117
- package/playwright-mcp-test/node_modules/playwright/lib/runner/testRunner.js +0 -390
- package/playwright-mcp-test/node_modules/playwright/lib/runner/testServer.js +0 -264
- package/playwright-mcp-test/node_modules/playwright/lib/runner/uiModeReporter.js +0 -30
- package/playwright-mcp-test/node_modules/playwright/lib/runner/vcs.js +0 -72
- package/playwright-mcp-test/node_modules/playwright/lib/runner/watchMode.js +0 -395
- package/playwright-mcp-test/node_modules/playwright/lib/runner/workerHost.js +0 -95
- package/playwright-mcp-test/node_modules/playwright/lib/third_party/pirates.js +0 -62
- package/playwright-mcp-test/node_modules/playwright/lib/third_party/tsconfig-loader.js +0 -103
- package/playwright-mcp-test/node_modules/playwright/lib/transform/babelBundle.js +0 -43
- package/playwright-mcp-test/node_modules/playwright/lib/transform/babelBundleImpl.js +0 -461
- package/playwright-mcp-test/node_modules/playwright/lib/transform/compilationCache.js +0 -272
- package/playwright-mcp-test/node_modules/playwright/lib/transform/esmLoader.js +0 -104
- package/playwright-mcp-test/node_modules/playwright/lib/transform/portTransport.js +0 -67
- package/playwright-mcp-test/node_modules/playwright/lib/transform/transform.js +0 -293
- package/playwright-mcp-test/node_modules/playwright/lib/util.js +0 -403
- package/playwright-mcp-test/node_modules/playwright/lib/utilsBundle.js +0 -43
- package/playwright-mcp-test/node_modules/playwright/lib/utilsBundleImpl.js +0 -100
- package/playwright-mcp-test/node_modules/playwright/lib/worker/fixtureRunner.js +0 -258
- package/playwright-mcp-test/node_modules/playwright/lib/worker/testInfo.js +0 -514
- package/playwright-mcp-test/node_modules/playwright/lib/worker/testTracing.js +0 -344
- package/playwright-mcp-test/node_modules/playwright/lib/worker/timeoutManager.js +0 -174
- package/playwright-mcp-test/node_modules/playwright/lib/worker/util.js +0 -31
- package/playwright-mcp-test/node_modules/playwright/lib/worker/workerMain.js +0 -520
- package/playwright-mcp-test/node_modules/playwright/package.json +0 -72
- package/playwright-mcp-test/node_modules/playwright/test.d.ts +0 -18
- package/playwright-mcp-test/node_modules/playwright/test.js +0 -24
- package/playwright-mcp-test/node_modules/playwright/test.mjs +0 -33
- package/playwright-mcp-test/node_modules/playwright/types/test.d.ts +0 -10185
- package/playwright-mcp-test/node_modules/playwright/types/testReporter.d.ts +0 -821
- package/playwright-mcp-test/node_modules/playwright-core/LICENSE +0 -202
- package/playwright-mcp-test/node_modules/playwright-core/NOTICE +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/README.md +0 -3
- package/playwright-mcp-test/node_modules/playwright-core/ThirdPartyNotices.txt +0 -1161
- package/playwright-mcp-test/node_modules/playwright-core/bin/install_media_pack.ps1 +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +0 -35
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -13
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -12
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -48
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -11
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +0 -23
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -48
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -11
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +0 -23
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -48
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -11
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/browsers.json +0 -80
- package/playwright-mcp-test/node_modules/playwright-core/cli.js +0 -18
- package/playwright-mcp-test/node_modules/playwright-core/index.d.ts +0 -17
- package/playwright-mcp-test/node_modules/playwright-core/index.js +0 -32
- package/playwright-mcp-test/node_modules/playwright-core/index.mjs +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/androidServerImpl.js +0 -65
- package/playwright-mcp-test/node_modules/playwright-core/lib/browserServerImpl.js +0 -120
- package/playwright-mcp-test/node_modules/playwright-core/lib/cli/driver.js +0 -97
- package/playwright-mcp-test/node_modules/playwright-core/lib/cli/program.js +0 -634
- package/playwright-mcp-test/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/accessibility.js +0 -49
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/android.js +0 -361
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/api.js +0 -137
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/artifact.js +0 -79
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/browser.js +0 -163
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/browserContext.js +0 -529
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/browserType.js +0 -184
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/cdpSession.js +0 -51
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/channelOwner.js +0 -194
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientHelper.js +0 -64
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -55
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientStackTrace.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clock.js +0 -68
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/connection.js +0 -314
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/consoleMessage.js +0 -54
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/coverage.js +0 -44
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/dialog.js +0 -56
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/download.js +0 -62
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/electron.js +0 -138
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/elementHandle.js +0 -281
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/errors.js +0 -77
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/events.js +0 -99
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/fetch.js +0 -369
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/fileChooser.js +0 -46
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/fileUtils.js +0 -34
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/frame.js +0 -408
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/harRouter.js +0 -87
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/input.js +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/jsHandle.js +0 -109
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/jsonPipe.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/localUtils.js +0 -60
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/locator.js +0 -369
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/network.js +0 -747
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/page.js +0 -721
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/platform.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/playwright.js +0 -71
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/selectors.js +0 -55
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/stream.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/timeoutSettings.js +0 -79
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/tracing.js +0 -117
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/types.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/video.js +0 -59
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/waiter.js +0 -142
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/webError.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/webSocket.js +0 -93
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/worker.js +0 -63
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/writableStream.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/clockSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/storageScriptSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/webSocketMockSource.js +0 -336
- package/playwright-mcp-test/node_modules/playwright-core/lib/inProcessFactory.js +0 -60
- package/playwright-mcp-test/node_modules/playwright-core/lib/inprocess.js +0 -3
- package/playwright-mcp-test/node_modules/playwright-core/lib/outofprocess.js +0 -76
- package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/serializers.js +0 -192
- package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/validator.js +0 -2912
- package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -193
- package/playwright-mcp-test/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -129
- package/playwright-mcp-test/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -335
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/accessibility.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/android/android.js +0 -465
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -177
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/artifact.js +0 -127
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -490
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +0 -153
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -212
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -221
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -130
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -146
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -383
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +0 -102
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -554
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +0 -106
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +0 -22
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiDeserializer.js +0 -98
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -256
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +0 -179
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -148
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +0 -259
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/browser.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/browserContext.js +0 -695
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/browserType.js +0 -328
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/callLog.js +0 -82
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -402
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -95
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crAccessibility.js +0 -263
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -502
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -202
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -235
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -113
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -131
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -146
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -187
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -666
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1069
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -121
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -145
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -123
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -162
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/protocol.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/videoRecorder.js +0 -113
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/clock.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -327
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/java.js +0 -274
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -270
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -52
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/language.js +0 -132
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/languages.js +0 -68
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/python.js +0 -279
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/types.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/console.js +0 -53
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/cookieStore.js +0 -206
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/debugController.js +0 -191
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/debugger.js +0 -119
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -1779
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dialog.js +0 -116
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -325
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -364
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -118
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -64
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -44
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -78
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -47
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -371
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -89
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -181
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -227
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -85
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -58
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -213
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -401
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -108
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -67
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -68
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +0 -165
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -79
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dom.js +0 -806
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/download.js +0 -70
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/electron/electron.js +0 -270
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/electron/loader.js +0 -29
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/errors.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/fetch.js +0 -621
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/fileChooser.js +0 -43
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffAccessibility.js +0 -238
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -428
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -150
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -159
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -256
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -503
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -116
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/protocol.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/formData.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/frameSelectors.js +0 -154
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/frames.js +0 -1455
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/har/harTracer.js +0 -607
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/harBackend.js +0 -157
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/helper.js +0 -96
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/index.js +0 -58
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/input.js +0 -273
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/instrumentation.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/javascript.js +0 -291
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/launchApp.js +0 -128
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/localUtils.js +0 -214
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -143
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/network.js +0 -629
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/page.js +0 -867
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/pipeTransport.js +0 -89
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/playwright.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/progress.js +0 -112
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/protocolError.js +0 -52
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/chat.js +0 -161
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -387
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -138
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +0 -83
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -157
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -57
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder.js +0 -499
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -175
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -371
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/index.js +0 -1361
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -1280
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -124
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/screenshotter.js +0 -333
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/selectors.js +0 -112
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -383
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -95
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -541
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -602
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/test/inMemorySnapshotter.js +0 -87
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -230
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/transport.js +0 -181
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/types.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -145
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/ascii.js +0 -44
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/comparators.js +0 -139
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/crypto.js +0 -216
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/debug.js +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/debugLogger.js +0 -122
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/env.js +0 -73
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/eventsHelper.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/expectUtils.js +0 -38
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/fileUtils.js +0 -191
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +0 -207
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/hostPlatform.js +0 -123
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/httpServer.js +0 -218
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/imageUtils.js +0 -146
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +0 -89
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +0 -109
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +0 -78
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +0 -102
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/linuxUtils.js +0 -71
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/network.js +0 -233
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/nodePlatform.js +0 -148
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/pipeTransport.js +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/processLauncher.js +0 -241
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/profiler.js +0 -65
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/socksProxy.js +0 -511
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/spawnAsync.js +0 -41
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/task.js +0 -51
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/userAgent.js +0 -98
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/wsServer.js +0 -121
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/zipFile.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/zones.js +0 -57
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/protocol.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -119
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkAccessibility.js +0 -237
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -339
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -154
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -181
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -169
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1134
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -83
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -104
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wsl/webkit-wsl-transport-client.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wsl/webkit-wsl-transport-server.js +0 -113
- package/playwright-mcp-test/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +0 -392
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/assert.js +0 -31
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/colors.js +0 -72
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -245
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -1051
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/headers.js +0 -53
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -689
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -176
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -81
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +0 -114
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -459
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +0 -80
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +0 -81
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +0 -321
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +0 -43
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -386
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +0 -54
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +0 -158
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -155
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/time.js +0 -49
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +0 -66
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/traceUtils.js +0 -58
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/types.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -179
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +0 -251
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils.js +0 -109
- package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundle.js +0 -112
- package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -218
- package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open +0 -1066
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/htmlReport/index.html +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-C3UTv-Ge.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DX585GyR.js +0 -25
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/index-DjadjNw5.js +0 -193
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/index-Ri0uHF7I.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/index.html +0 -29
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +0 -9
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-Cw-6jrKz.js +0 -25
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BZIhX7gh.js +0 -266
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.C3UTv-Ge.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BEjzWGz-.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.Dk_obRs3.js +0 -2
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.I8N9v4jT.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.html +0 -43
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +0 -9
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +0 -21
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +0 -3
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Bai-qGIw.js +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +0 -17
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
- package/playwright-mcp-test/node_modules/playwright-core/lib/zipBundle.js +0 -34
- package/playwright-mcp-test/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/package.json +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/types/protocol.d.ts +0 -23130
- package/playwright-mcp-test/node_modules/playwright-core/types/structs.d.ts +0 -45
- package/playwright-mcp-test/node_modules/playwright-core/types/types.d.ts +0 -22872
- package/playwright-mcp-test/package-lock.json +0 -76
package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js
DELETED
|
@@ -1,155 +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 stringUtils_exports = {};
|
|
20
|
-
__export(stringUtils_exports, {
|
|
21
|
-
cacheNormalizedWhitespaces: () => cacheNormalizedWhitespaces,
|
|
22
|
-
escapeForAttributeSelector: () => escapeForAttributeSelector,
|
|
23
|
-
escapeForTextSelector: () => escapeForTextSelector,
|
|
24
|
-
escapeHTML: () => escapeHTML,
|
|
25
|
-
escapeHTMLAttribute: () => escapeHTMLAttribute,
|
|
26
|
-
escapeRegExp: () => escapeRegExp,
|
|
27
|
-
escapeTemplateString: () => escapeTemplateString,
|
|
28
|
-
escapeWithQuotes: () => escapeWithQuotes,
|
|
29
|
-
isString: () => isString,
|
|
30
|
-
longestCommonSubstring: () => longestCommonSubstring,
|
|
31
|
-
normalizeEscapedRegexQuotes: () => normalizeEscapedRegexQuotes,
|
|
32
|
-
normalizeWhiteSpace: () => normalizeWhiteSpace,
|
|
33
|
-
quoteCSSAttributeValue: () => quoteCSSAttributeValue,
|
|
34
|
-
toSnakeCase: () => toSnakeCase,
|
|
35
|
-
toTitleCase: () => toTitleCase,
|
|
36
|
-
trimString: () => trimString,
|
|
37
|
-
trimStringWithEllipsis: () => trimStringWithEllipsis
|
|
38
|
-
});
|
|
39
|
-
module.exports = __toCommonJS(stringUtils_exports);
|
|
40
|
-
function escapeWithQuotes(text, char = "'") {
|
|
41
|
-
const stringified = JSON.stringify(text);
|
|
42
|
-
const escapedText = stringified.substring(1, stringified.length - 1).replace(/\\"/g, '"');
|
|
43
|
-
if (char === "'")
|
|
44
|
-
return char + escapedText.replace(/[']/g, "\\'") + char;
|
|
45
|
-
if (char === '"')
|
|
46
|
-
return char + escapedText.replace(/["]/g, '\\"') + char;
|
|
47
|
-
if (char === "`")
|
|
48
|
-
return char + escapedText.replace(/[`]/g, "\\`") + char;
|
|
49
|
-
throw new Error("Invalid escape char");
|
|
50
|
-
}
|
|
51
|
-
function escapeTemplateString(text) {
|
|
52
|
-
return text.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${");
|
|
53
|
-
}
|
|
54
|
-
function isString(obj) {
|
|
55
|
-
return typeof obj === "string" || obj instanceof String;
|
|
56
|
-
}
|
|
57
|
-
function toTitleCase(name) {
|
|
58
|
-
return name.charAt(0).toUpperCase() + name.substring(1);
|
|
59
|
-
}
|
|
60
|
-
function toSnakeCase(name) {
|
|
61
|
-
return name.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z])([A-Z][a-z])/g, "$1_$2").toLowerCase();
|
|
62
|
-
}
|
|
63
|
-
function quoteCSSAttributeValue(text) {
|
|
64
|
-
return `"${text.replace(/["\\]/g, (char) => "\\" + char)}"`;
|
|
65
|
-
}
|
|
66
|
-
let normalizedWhitespaceCache;
|
|
67
|
-
function cacheNormalizedWhitespaces() {
|
|
68
|
-
normalizedWhitespaceCache = /* @__PURE__ */ new Map();
|
|
69
|
-
}
|
|
70
|
-
function normalizeWhiteSpace(text) {
|
|
71
|
-
let result = normalizedWhitespaceCache?.get(text);
|
|
72
|
-
if (result === void 0) {
|
|
73
|
-
result = text.replace(/[\u200b\u00ad]/g, "").trim().replace(/\s+/g, " ");
|
|
74
|
-
normalizedWhitespaceCache?.set(text, result);
|
|
75
|
-
}
|
|
76
|
-
return result;
|
|
77
|
-
}
|
|
78
|
-
function normalizeEscapedRegexQuotes(source) {
|
|
79
|
-
return source.replace(/(^|[^\\])(\\\\)*\\(['"`])/g, "$1$2$3");
|
|
80
|
-
}
|
|
81
|
-
function escapeRegexForSelector(re) {
|
|
82
|
-
if (re.unicode || re.unicodeSets)
|
|
83
|
-
return String(re);
|
|
84
|
-
return String(re).replace(/(^|[^\\])(\\\\)*(["'`])/g, "$1$2\\$3").replace(/>>/g, "\\>\\>");
|
|
85
|
-
}
|
|
86
|
-
function escapeForTextSelector(text, exact) {
|
|
87
|
-
if (typeof text !== "string")
|
|
88
|
-
return escapeRegexForSelector(text);
|
|
89
|
-
return `${JSON.stringify(text)}${exact ? "s" : "i"}`;
|
|
90
|
-
}
|
|
91
|
-
function escapeForAttributeSelector(value, exact) {
|
|
92
|
-
if (typeof value !== "string")
|
|
93
|
-
return escapeRegexForSelector(value);
|
|
94
|
-
return `"${value.replace(/\\/g, "\\\\").replace(/["]/g, '\\"')}"${exact ? "s" : "i"}`;
|
|
95
|
-
}
|
|
96
|
-
function trimString(input, cap, suffix = "") {
|
|
97
|
-
if (input.length <= cap)
|
|
98
|
-
return input;
|
|
99
|
-
const chars = [...input];
|
|
100
|
-
if (chars.length > cap)
|
|
101
|
-
return chars.slice(0, cap - suffix.length).join("") + suffix;
|
|
102
|
-
return chars.join("");
|
|
103
|
-
}
|
|
104
|
-
function trimStringWithEllipsis(input, cap) {
|
|
105
|
-
return trimString(input, cap, "\u2026");
|
|
106
|
-
}
|
|
107
|
-
function escapeRegExp(s) {
|
|
108
|
-
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
109
|
-
}
|
|
110
|
-
const escaped = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" };
|
|
111
|
-
function escapeHTMLAttribute(s) {
|
|
112
|
-
return s.replace(/[&<>"']/ug, (char) => escaped[char]);
|
|
113
|
-
}
|
|
114
|
-
function escapeHTML(s) {
|
|
115
|
-
return s.replace(/[&<]/ug, (char) => escaped[char]);
|
|
116
|
-
}
|
|
117
|
-
function longestCommonSubstring(s1, s2) {
|
|
118
|
-
const n = s1.length;
|
|
119
|
-
const m = s2.length;
|
|
120
|
-
let maxLen = 0;
|
|
121
|
-
let endingIndex = 0;
|
|
122
|
-
const dp = Array(n + 1).fill(null).map(() => Array(m + 1).fill(0));
|
|
123
|
-
for (let i = 1; i <= n; i++) {
|
|
124
|
-
for (let j = 1; j <= m; j++) {
|
|
125
|
-
if (s1[i - 1] === s2[j - 1]) {
|
|
126
|
-
dp[i][j] = dp[i - 1][j - 1] + 1;
|
|
127
|
-
if (dp[i][j] > maxLen) {
|
|
128
|
-
maxLen = dp[i][j];
|
|
129
|
-
endingIndex = i;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return s1.slice(endingIndex - maxLen, endingIndex);
|
|
135
|
-
}
|
|
136
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
137
|
-
0 && (module.exports = {
|
|
138
|
-
cacheNormalizedWhitespaces,
|
|
139
|
-
escapeForAttributeSelector,
|
|
140
|
-
escapeForTextSelector,
|
|
141
|
-
escapeHTML,
|
|
142
|
-
escapeHTMLAttribute,
|
|
143
|
-
escapeRegExp,
|
|
144
|
-
escapeTemplateString,
|
|
145
|
-
escapeWithQuotes,
|
|
146
|
-
isString,
|
|
147
|
-
longestCommonSubstring,
|
|
148
|
-
normalizeEscapedRegexQuotes,
|
|
149
|
-
normalizeWhiteSpace,
|
|
150
|
-
quoteCSSAttributeValue,
|
|
151
|
-
toSnakeCase,
|
|
152
|
-
toTitleCase,
|
|
153
|
-
trimString,
|
|
154
|
-
trimStringWithEllipsis
|
|
155
|
-
});
|
|
@@ -1,49 +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 time_exports = {};
|
|
20
|
-
__export(time_exports, {
|
|
21
|
-
DEFAULT_PLAYWRIGHT_LAUNCH_TIMEOUT: () => DEFAULT_PLAYWRIGHT_LAUNCH_TIMEOUT,
|
|
22
|
-
DEFAULT_PLAYWRIGHT_TIMEOUT: () => DEFAULT_PLAYWRIGHT_TIMEOUT,
|
|
23
|
-
monotonicTime: () => monotonicTime,
|
|
24
|
-
setTimeOrigin: () => setTimeOrigin,
|
|
25
|
-
timeOrigin: () => timeOrigin
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(time_exports);
|
|
28
|
-
let _timeOrigin = performance.timeOrigin;
|
|
29
|
-
let _timeShift = 0;
|
|
30
|
-
function setTimeOrigin(origin) {
|
|
31
|
-
_timeOrigin = origin;
|
|
32
|
-
_timeShift = performance.timeOrigin - origin;
|
|
33
|
-
}
|
|
34
|
-
function timeOrigin() {
|
|
35
|
-
return _timeOrigin;
|
|
36
|
-
}
|
|
37
|
-
function monotonicTime() {
|
|
38
|
-
return Math.floor((performance.now() + _timeShift) * 1e3) / 1e3;
|
|
39
|
-
}
|
|
40
|
-
const DEFAULT_PLAYWRIGHT_TIMEOUT = 3e4;
|
|
41
|
-
const DEFAULT_PLAYWRIGHT_LAUNCH_TIMEOUT = 3 * 60 * 1e3;
|
|
42
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
-
0 && (module.exports = {
|
|
44
|
-
DEFAULT_PLAYWRIGHT_LAUNCH_TIMEOUT,
|
|
45
|
-
DEFAULT_PLAYWRIGHT_TIMEOUT,
|
|
46
|
-
monotonicTime,
|
|
47
|
-
setTimeOrigin,
|
|
48
|
-
timeOrigin
|
|
49
|
-
});
|
package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js
DELETED
|
@@ -1,66 +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 timeoutRunner_exports = {};
|
|
20
|
-
__export(timeoutRunner_exports, {
|
|
21
|
-
pollAgainstDeadline: () => pollAgainstDeadline,
|
|
22
|
-
raceAgainstDeadline: () => raceAgainstDeadline
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(timeoutRunner_exports);
|
|
25
|
-
var import_time = require("./time");
|
|
26
|
-
async function raceAgainstDeadline(cb, deadline) {
|
|
27
|
-
let timer;
|
|
28
|
-
return Promise.race([
|
|
29
|
-
cb().then((result) => {
|
|
30
|
-
return { result, timedOut: false };
|
|
31
|
-
}),
|
|
32
|
-
new Promise((resolve) => {
|
|
33
|
-
const kMaxDeadline = 2147483647;
|
|
34
|
-
const timeout = (deadline || kMaxDeadline) - (0, import_time.monotonicTime)();
|
|
35
|
-
timer = setTimeout(() => resolve({ timedOut: true }), timeout);
|
|
36
|
-
})
|
|
37
|
-
]).finally(() => {
|
|
38
|
-
clearTimeout(timer);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
async function pollAgainstDeadline(callback, deadline, pollIntervals = [100, 250, 500, 1e3]) {
|
|
42
|
-
const lastPollInterval = pollIntervals.pop() ?? 1e3;
|
|
43
|
-
let lastResult;
|
|
44
|
-
const wrappedCallback = () => Promise.resolve().then(callback);
|
|
45
|
-
while (true) {
|
|
46
|
-
const time = (0, import_time.monotonicTime)();
|
|
47
|
-
if (deadline && time >= deadline)
|
|
48
|
-
break;
|
|
49
|
-
const received = await raceAgainstDeadline(wrappedCallback, deadline);
|
|
50
|
-
if (received.timedOut)
|
|
51
|
-
break;
|
|
52
|
-
lastResult = received.result.result;
|
|
53
|
-
if (!received.result.continuePolling)
|
|
54
|
-
return { result: lastResult, timedOut: false };
|
|
55
|
-
const interval = pollIntervals.shift() ?? lastPollInterval;
|
|
56
|
-
if (deadline && deadline <= (0, import_time.monotonicTime)() + interval)
|
|
57
|
-
break;
|
|
58
|
-
await new Promise((x) => setTimeout(x, interval));
|
|
59
|
-
}
|
|
60
|
-
return { timedOut: true, result: lastResult };
|
|
61
|
-
}
|
|
62
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
-
0 && (module.exports = {
|
|
64
|
-
pollAgainstDeadline,
|
|
65
|
-
raceAgainstDeadline
|
|
66
|
-
});
|
|
@@ -1,58 +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 traceUtils_exports = {};
|
|
20
|
-
__export(traceUtils_exports, {
|
|
21
|
-
parseClientSideCallMetadata: () => parseClientSideCallMetadata,
|
|
22
|
-
serializeClientSideCallMetadata: () => serializeClientSideCallMetadata
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(traceUtils_exports);
|
|
25
|
-
function parseClientSideCallMetadata(data) {
|
|
26
|
-
const result = /* @__PURE__ */ new Map();
|
|
27
|
-
const { files, stacks } = data;
|
|
28
|
-
for (const s of stacks) {
|
|
29
|
-
const [id, ff] = s;
|
|
30
|
-
result.set(`call@${id}`, ff.map((f) => ({ file: files[f[0]], line: f[1], column: f[2], function: f[3] })));
|
|
31
|
-
}
|
|
32
|
-
return result;
|
|
33
|
-
}
|
|
34
|
-
function serializeClientSideCallMetadata(metadatas) {
|
|
35
|
-
const fileNames = /* @__PURE__ */ new Map();
|
|
36
|
-
const stacks = [];
|
|
37
|
-
for (const m of metadatas) {
|
|
38
|
-
if (!m.stack || !m.stack.length)
|
|
39
|
-
continue;
|
|
40
|
-
const stack = [];
|
|
41
|
-
for (const frame of m.stack) {
|
|
42
|
-
let ordinal = fileNames.get(frame.file);
|
|
43
|
-
if (typeof ordinal !== "number") {
|
|
44
|
-
ordinal = fileNames.size;
|
|
45
|
-
fileNames.set(frame.file, ordinal);
|
|
46
|
-
}
|
|
47
|
-
const stackFrame = [ordinal, frame.line || 0, frame.column || 0, frame.function || ""];
|
|
48
|
-
stack.push(stackFrame);
|
|
49
|
-
}
|
|
50
|
-
stacks.push([m.id, stack]);
|
|
51
|
-
}
|
|
52
|
-
return { files: [...fileNames.keys()], stacks };
|
|
53
|
-
}
|
|
54
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
55
|
-
0 && (module.exports = {
|
|
56
|
-
parseClientSideCallMetadata,
|
|
57
|
-
serializeClientSideCallMetadata
|
|
58
|
-
});
|
|
@@ -1,16 +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 __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
var types_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(types_exports);
|
|
@@ -1,179 +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 urlMatch_exports = {};
|
|
20
|
-
__export(urlMatch_exports, {
|
|
21
|
-
constructURLBasedOnBaseURL: () => constructURLBasedOnBaseURL,
|
|
22
|
-
globToRegexPattern: () => globToRegexPattern,
|
|
23
|
-
resolveGlobToRegexPattern: () => resolveGlobToRegexPattern,
|
|
24
|
-
urlMatches: () => urlMatches,
|
|
25
|
-
urlMatchesEqual: () => urlMatchesEqual
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(urlMatch_exports);
|
|
28
|
-
var import_stringUtils = require("./stringUtils");
|
|
29
|
-
const escapedChars = /* @__PURE__ */ new Set(["$", "^", "+", ".", "*", "(", ")", "|", "\\", "?", "{", "}", "[", "]"]);
|
|
30
|
-
function globToRegexPattern(glob) {
|
|
31
|
-
const tokens = ["^"];
|
|
32
|
-
let inGroup = false;
|
|
33
|
-
for (let i = 0; i < glob.length; ++i) {
|
|
34
|
-
const c = glob[i];
|
|
35
|
-
if (c === "\\" && i + 1 < glob.length) {
|
|
36
|
-
const char = glob[++i];
|
|
37
|
-
tokens.push(escapedChars.has(char) ? "\\" + char : char);
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if (c === "*") {
|
|
41
|
-
let starCount = 1;
|
|
42
|
-
while (glob[i + 1] === "*") {
|
|
43
|
-
starCount++;
|
|
44
|
-
i++;
|
|
45
|
-
}
|
|
46
|
-
if (starCount > 1)
|
|
47
|
-
tokens.push("(.*)");
|
|
48
|
-
else
|
|
49
|
-
tokens.push("([^/]*)");
|
|
50
|
-
continue;
|
|
51
|
-
}
|
|
52
|
-
switch (c) {
|
|
53
|
-
case "{":
|
|
54
|
-
inGroup = true;
|
|
55
|
-
tokens.push("(");
|
|
56
|
-
break;
|
|
57
|
-
case "}":
|
|
58
|
-
inGroup = false;
|
|
59
|
-
tokens.push(")");
|
|
60
|
-
break;
|
|
61
|
-
case ",":
|
|
62
|
-
if (inGroup) {
|
|
63
|
-
tokens.push("|");
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
tokens.push("\\" + c);
|
|
67
|
-
break;
|
|
68
|
-
default:
|
|
69
|
-
tokens.push(escapedChars.has(c) ? "\\" + c : c);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
tokens.push("$");
|
|
73
|
-
return tokens.join("");
|
|
74
|
-
}
|
|
75
|
-
function isRegExp(obj) {
|
|
76
|
-
return obj instanceof RegExp || Object.prototype.toString.call(obj) === "[object RegExp]";
|
|
77
|
-
}
|
|
78
|
-
function urlMatchesEqual(match1, match2) {
|
|
79
|
-
if (isRegExp(match1) && isRegExp(match2))
|
|
80
|
-
return match1.source === match2.source && match1.flags === match2.flags;
|
|
81
|
-
return match1 === match2;
|
|
82
|
-
}
|
|
83
|
-
function urlMatches(baseURL, urlString, match, webSocketUrl) {
|
|
84
|
-
if (match === void 0 || match === "")
|
|
85
|
-
return true;
|
|
86
|
-
if ((0, import_stringUtils.isString)(match))
|
|
87
|
-
match = new RegExp(resolveGlobToRegexPattern(baseURL, match, webSocketUrl));
|
|
88
|
-
if (isRegExp(match)) {
|
|
89
|
-
const r = match.test(urlString);
|
|
90
|
-
return r;
|
|
91
|
-
}
|
|
92
|
-
const url = parseURL(urlString);
|
|
93
|
-
if (!url)
|
|
94
|
-
return false;
|
|
95
|
-
if (typeof match !== "function")
|
|
96
|
-
throw new Error("url parameter should be string, RegExp or function");
|
|
97
|
-
return match(url);
|
|
98
|
-
}
|
|
99
|
-
function resolveGlobToRegexPattern(baseURL, glob, webSocketUrl) {
|
|
100
|
-
if (webSocketUrl)
|
|
101
|
-
baseURL = toWebSocketBaseUrl(baseURL);
|
|
102
|
-
glob = resolveGlobBase(baseURL, glob);
|
|
103
|
-
return globToRegexPattern(glob);
|
|
104
|
-
}
|
|
105
|
-
function toWebSocketBaseUrl(baseURL) {
|
|
106
|
-
if (baseURL && /^https?:\/\//.test(baseURL))
|
|
107
|
-
baseURL = baseURL.replace(/^http/, "ws");
|
|
108
|
-
return baseURL;
|
|
109
|
-
}
|
|
110
|
-
function resolveGlobBase(baseURL, match) {
|
|
111
|
-
if (!match.startsWith("*")) {
|
|
112
|
-
let mapToken2 = function(original, replacement) {
|
|
113
|
-
if (original.length === 0)
|
|
114
|
-
return "";
|
|
115
|
-
tokenMap.set(replacement, original);
|
|
116
|
-
return replacement;
|
|
117
|
-
};
|
|
118
|
-
var mapToken = mapToken2;
|
|
119
|
-
const tokenMap = /* @__PURE__ */ new Map();
|
|
120
|
-
match = match.replaceAll(/\\\\\?/g, "?");
|
|
121
|
-
if (match.startsWith("about:") || match.startsWith("data:") || match.startsWith("chrome:") || match.startsWith("edge:") || match.startsWith("file:"))
|
|
122
|
-
return match;
|
|
123
|
-
const relativePath = match.split("/").map((token, index) => {
|
|
124
|
-
if (token === "." || token === ".." || token === "")
|
|
125
|
-
return token;
|
|
126
|
-
if (index === 0 && token.endsWith(":")) {
|
|
127
|
-
if (token.indexOf("*") !== -1 || token.indexOf("{") !== -1)
|
|
128
|
-
return mapToken2(token, "http:");
|
|
129
|
-
return token;
|
|
130
|
-
}
|
|
131
|
-
const questionIndex = token.indexOf("?");
|
|
132
|
-
if (questionIndex === -1)
|
|
133
|
-
return mapToken2(token, `$_${index}_$`);
|
|
134
|
-
const newPrefix = mapToken2(token.substring(0, questionIndex), `$_${index}_$`);
|
|
135
|
-
const newSuffix = mapToken2(token.substring(questionIndex), `?$_${index}_$`);
|
|
136
|
-
return newPrefix + newSuffix;
|
|
137
|
-
}).join("/");
|
|
138
|
-
const result = resolveBaseURL(baseURL, relativePath);
|
|
139
|
-
let resolved = result.resolved;
|
|
140
|
-
for (const [token, original] of tokenMap) {
|
|
141
|
-
const normalize = result.caseInsensitivePart?.includes(token);
|
|
142
|
-
resolved = resolved.replace(token, normalize ? original.toLowerCase() : original);
|
|
143
|
-
}
|
|
144
|
-
match = resolved;
|
|
145
|
-
}
|
|
146
|
-
return match;
|
|
147
|
-
}
|
|
148
|
-
function parseURL(url) {
|
|
149
|
-
try {
|
|
150
|
-
return new URL(url);
|
|
151
|
-
} catch (e) {
|
|
152
|
-
return null;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
function constructURLBasedOnBaseURL(baseURL, givenURL) {
|
|
156
|
-
try {
|
|
157
|
-
return resolveBaseURL(baseURL, givenURL).resolved;
|
|
158
|
-
} catch (e) {
|
|
159
|
-
return givenURL;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
function resolveBaseURL(baseURL, givenURL) {
|
|
163
|
-
try {
|
|
164
|
-
const url = new URL(givenURL, baseURL);
|
|
165
|
-
const resolved = url.toString();
|
|
166
|
-
const caseInsensitivePrefix = url.origin;
|
|
167
|
-
return { resolved, caseInsensitivePart: caseInsensitivePrefix };
|
|
168
|
-
} catch (e) {
|
|
169
|
-
return { resolved: givenURL };
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
173
|
-
0 && (module.exports = {
|
|
174
|
-
constructURLBasedOnBaseURL,
|
|
175
|
-
globToRegexPattern,
|
|
176
|
-
resolveGlobToRegexPattern,
|
|
177
|
-
urlMatches,
|
|
178
|
-
urlMatchesEqual
|
|
179
|
-
});
|