UNPKG

graceful-playwright

Version:

Gracefully handle timeout and network error with auto retry.

71 lines (70 loc) 1.63 kB
{ "name": "graceful-playwright", "version": "1.7.0", "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.3.20", "@types/express": "^4.17.25", "@types/mocha": "^10.0.10", "@types/node": "^20.19.43", "@types/sinon": "^17.0.4", "chai": "^4.5.0", "express": "^4.22.2", "mocha": "^11.7.6", "npm-run-all": "^4.1.5", "playwright": "^1.61.1", "rimraf": "^6.1.3", "sinon": "^20.0.0", "ts-mocha": "^11.1.0", "ts-node": "^10.9.2", "typescript": "^6.0.3" } }