UNPKG

graceful-playwright

Version:

Gracefully handle timeout and network error with auto retry.

71 lines (70 loc) 1.62 kB
{ "name": "graceful-playwright", "version": "1.5.1", "description": "Gracefully handle timeout and network error with auto retry.", "keywords": [ "graceful", "retry", "retries", "error", "errors", "handling", "timeout", "ERR_NETWORK", "ERR_CONNECTION", "ERR_SOCKET", "page", "crashed", "goto", "playwright", "browser", "automation", "scrapping", "crawling", "crawler", "typescript" ], "author": "Beeno Tung <aabbcc1241@yahoo.com.hk> (https://beeno-tung.surge.sh)", "license": "BSD-2-Clause", "repository": { "type": "git", "url": "git+https://github.com/beenotung/graceful-playwright.git" }, "homepage": "https://github.com/beenotung/graceful-playwright#readme", "bugs": { "url": "https://github.com/beenotung/graceful-playwright/issues" }, "main": "core.js", "types": "core.d.ts", "files": [ "core.js", "core.d.ts" ], "scripts": { "clean": "rimraf *.js *.d.ts", "test": "run-p build mocha", "build": "run-s clean tsc", "tsc": "tsc -p .", "mocha": "ts-mocha core.spec.ts" }, "peerDependencies": { "playwright": "^1.41.2" }, "devDependencies": { "@types/chai": "4", "@types/express": "^4.17.21", "@types/mocha": "^10.0.6", "@types/node": "^20.11.17", "@types/sinon": "^17.0.1", "chai": "4", "express": "^4.18.2", "mocha": "^11.2.2", "npm-run-all": "^4.1.5", "playwright": "^1.52.0", "rimraf": "^6.0.1", "sinon": "^20.0.0", "ts-mocha": "^11.1.0", "ts-node": "^10.9.2", "typescript": "^5.3.3" } }