This pull request introduces initial support for the WebDriver BiDi protocol in Playwright. The primary goal of this PR is not to fully implement BiDi but to experiment with the current state of the specification and its implementation. We aim to identify the biggest gaps and challenges that need to be addressed before considering BiDi as the main protocol for Playwright.
105 lines
4.8 KiB
JSON
105 lines
4.8 KiB
JSON
{
|
|
"name": "playwright-internal",
|
|
"private": true,
|
|
"version": "1.47.0-next",
|
|
"description": "A high-level API to automate web browsers",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/playwright.git"
|
|
},
|
|
"homepage": "https://playwright.dev",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"author": {
|
|
"name": "Microsoft Corporation"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"ctest": "playwright test --config=tests/library/playwright.config.ts --project=chromium-*",
|
|
"ftest": "playwright test --config=tests/library/playwright.config.ts --project=firefox-*",
|
|
"wtest": "playwright test --config=tests/library/playwright.config.ts --project=webkit-*",
|
|
"atest": "playwright test --config=tests/android/playwright.config.ts",
|
|
"etest": "playwright test --config=tests/electron/playwright.config.ts",
|
|
"webview2test": "playwright test --config=tests/webview2/playwright.config.ts",
|
|
"itest": "playwright test --config=tests/installation/playwright.config.ts",
|
|
"stest": "playwright test --config=tests/stress/playwright.config.ts",
|
|
"biditest": "playwright test --config=tests/bidi/playwright.config.ts",
|
|
"test-html-reporter": "playwright test --config=packages/html-reporter",
|
|
"test-web": "playwright test --config=packages/web",
|
|
"ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright.config.ts",
|
|
"ct": "playwright test tests/components/test-all.spec.js --reporter=list",
|
|
"test": "playwright test --config=tests/library/playwright.config.ts",
|
|
"eslint": "eslint --cache --report-unused-disable-directives --ext ts,tsx,js,jsx,mjs .",
|
|
"tsc": "tsc -p . && tsc -p packages/html-reporter/",
|
|
"build-installer": "babel -s --extensions \".ts\" --out-dir packages/playwright-core/lib/utils/ packages/playwright-core/src/utils",
|
|
"doc": "node utils/doclint/cli.js",
|
|
"lint": "npm run eslint && npm run tsc && npm run doc && npm run check-deps && node utils/generate_channels.js && node utils/generate_types/ && npm run lint-tests && npm run test-types && npm run lint-packages",
|
|
"lint-packages": "node utils/workspace.js --ensure-consistent",
|
|
"lint-tests": "node utils/lint_tests.js",
|
|
"flint": "concurrently \"npm run eslint\" \"npm run tsc\" \"npm run doc\" \"npm run check-deps\" \"node utils/generate_channels.js\" \"node utils/generate_types/\" \"npm run lint-tests\" \"npm run test-types\" \"npm run lint-packages\"",
|
|
"clean": "node utils/build/clean.js",
|
|
"build": "node utils/build/build.js",
|
|
"watch": "node utils/build/build.js --watch --lint",
|
|
"test-types": "node utils/generate_types/ && tsc -p utils/generate_types/test/tsconfig.json && tsc -p ./tests/",
|
|
"roll": "node utils/roll_browser.js",
|
|
"check-deps": "node utils/check_deps.js",
|
|
"build-android-driver": "./utils/build_android_driver.sh",
|
|
"innerloop": "playwright run-server --reuse-browser"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@actions/core": "^1.10.0",
|
|
"@babel/cli": "^7.23.4",
|
|
"@babel/code-frame": "^7.23.5",
|
|
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
"@babel/plugin-transform-export-namespace-from": "^7.23.4",
|
|
"@babel/plugin-transform-logical-assignment-operators": "^7.23.4",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
|
|
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
|
|
"@babel/plugin-transform-optional-chaining": "^7.23.4",
|
|
"@babel/plugin-transform-typescript": "^7.23.6",
|
|
"@babel/preset-react": "^7.23.3",
|
|
"@types/babel__core": "^7.20.2",
|
|
"@types/codemirror": "^5.60.7",
|
|
"@types/formidable": "^2.0.4",
|
|
"@types/node": "^18.19.39",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/ws": "^8.5.3",
|
|
"@types/xml2js": "^0.4.9",
|
|
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
"@typescript-eslint/parser": "^7.15.0",
|
|
"@typescript-eslint/utils": "^7.15.0",
|
|
"@vitejs/plugin-basic-ssl": "^1.1.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@zip.js/zip.js": "^2.7.29",
|
|
"chokidar": "^3.5.3",
|
|
"colors": "^1.4.0",
|
|
"concurrently": "^6.2.1",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.4.5",
|
|
"electron": "^30.1.2",
|
|
"esbuild": "^0.18.11",
|
|
"eslint": "^8.55.0",
|
|
"eslint-plugin-internal-playwright": "file:utils/eslint-plugin-internal-playwright",
|
|
"eslint-plugin-notice": "^0.9.10",
|
|
"eslint-plugin-react": "^7.35.0",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"formidable": "^2.1.1",
|
|
"license-checker": "^25.0.1",
|
|
"mime": "^3.0.0",
|
|
"node-stream-zip": "^1.15.0",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0",
|
|
"ssim.js": "^3.5.0",
|
|
"typescript": "^5.5.3",
|
|
"vite": "^5.0.13",
|
|
"ws": "^8.17.1",
|
|
"xml2js": "^0.5.0",
|
|
"yaml": "^2.2.2"
|
|
}
|
|
}
|