From 021e4400ad4374c3f96624ef42f1d0525d30700c Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 7 Jun 2026 14:08:33 +0100 Subject: [PATCH] chore: add playwright devdependency --- package-lock.json | 69 +++++++++++++++++++++++++++++++++++++++++++++++ package.json | 14 ++++++++++ pnpm-lock.yaml | 43 +++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 pnpm-lock.yaml diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..cd70039 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,69 @@ +{ + "name": "captcha-solver-mcp-e2e", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "captcha-solver-mcp-e2e", + "version": "0.1.0", + "devDependencies": { + "playwright": "^1.50.0" + } + }, + "node_modules/.pnpm/playwright-core@1.60.0/node_modules/playwright-core": { + "version": "1.60.0", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/.pnpm/playwright@1.60.0": { + "dev": true + }, + "node_modules/.pnpm/playwright@1.60.0/node_modules/playwright": { + "version": "1.60.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.60.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/.pnpm/playwright@1.60.0/node_modules/playwright-core": { + "resolved": "node_modules/.pnpm/playwright-core@1.60.0/node_modules/playwright-core", + "link": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/playwright": { + "resolved": "node_modules/.pnpm/playwright@1.60.0/node_modules/playwright", + "link": true + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..fbeb9c7 --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "captcha-solver-mcp-e2e", + "version": "0.1.0", + "private": true, + "description": "Playwright browser e2e harness for the captcha-solver-mcp server against the 2captcha demo.", + "type": "module", + "scripts": { + "e2e:text": "node test/e2e/playwright/solve-text.mjs", + "e2e:recaptcha": "node test/e2e/playwright/solve-recaptcha-v2.mjs" + }, + "devDependencies": { + "playwright": "^1.50.0" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..6d5a038 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,43 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + devDependencies: + playwright: + specifier: ^1.50.0 + version: 1.60.0 + +packages: + + fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + playwright-core@1.60.0: + resolution: {integrity: sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==} + engines: {node: '>=18'} + hasBin: true + + playwright@1.60.0: + resolution: {integrity: sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==} + engines: {node: '>=18'} + hasBin: true + +snapshots: + + fsevents@2.3.2: + optional: true + + playwright-core@1.60.0: {} + + playwright@1.60.0: + dependencies: + playwright-core: 1.60.0 + optionalDependencies: + fsevents: 2.3.2