We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6016c63 commit 5fab72dCopy full SHA for 5fab72d
README.md
@@ -8,7 +8,7 @@ $ git clone -o starter-kit https://github.com/sambaiz/puppeteer-lambda-starter-k
8
9
## Run on local
10
11
-By executing `npm run local`, you can check the operation while actually viewing the chrome. (non-headless, slowmo)
+By executing `SLOWMO_MS=250 npm run local`, you can check the operation while actually viewing the chrome (non-headless, slowmo).
12
13
## Packaging & Deploy
14
src/starter-kit/local.js
@@ -3,7 +3,7 @@ const util = require('./util');
3
4
index.run({
5
headless: false,
6
- slowMo: 250,
+ slowMo: process.env.SLOWMO_MS,
7
dumpio: !!util.DEBUG,
// use chrome installed by puppeteer
}).then(
0 commit comments