mirror of
https://github.com/vladocar/screenshoteer.git
synced 2024-12-22 05:32:21 +01:00
change : to ;
This commit is contained in:
parent
1996ff0dff
commit
782268e4e3
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -42,7 +42,7 @@ console.log(fullPage);
|
|||
if (program.w && program.h) await page.setViewport({width: Number(program.w), height: Number(program.h)})
|
||||
if (program.emulate) await page.emulate(devices[program.emulate]);
|
||||
if (program.auth) {
|
||||
const [username, password] = program.auth.split(':');
|
||||
const [username, password] = program.auth.split(';');
|
||||
await page.authenticate({username:username, password:password});
|
||||
}
|
||||
await page.goto(urlvalue)
|
||||
|
|
Loading…
Reference in a new issue