u
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "renew.js",
|
"main": "renew.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"begin": "npm install && npx playwright install-deps && npx playwright install chromium",
|
||||||
|
"fire": "source renew-all.sh",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
@@ -91,8 +91,8 @@ async function renewOne (context, dashboardPage, renewLocator, index) {
|
|||||||
: true
|
: true
|
||||||
|
|
||||||
// On macOS use the installed Microsoft Edge; on Linux (and elsewhere) fall
|
// On macOS use the installed Microsoft Edge; on Linux (and elsewhere) fall
|
||||||
// back to the Chromium bundled by Playwright (run `npx playwright install
|
// back to the Chromium bundled by Playwright (run `npx playwright install chromium` once there).
|
||||||
// // chromium` once there). Override by setting BROWSER_CHANNEL, e.g.
|
// Override by setting BROWSER_CHANNEL, e.g.
|
||||||
// `BROWSER_CHANNEL=chrome` or `BROWSER_CHANNEL=`.
|
// `BROWSER_CHANNEL=chrome` or `BROWSER_CHANNEL=`.
|
||||||
const launchOptions = { headless, slowMo: headless ? 0 : 200 }
|
const launchOptions = { headless, slowMo: headless ? 0 : 200 }
|
||||||
if (process.env.BROWSER_CHANNEL != null) {
|
if (process.env.BROWSER_CHANNEL != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user