change : to ;

This commit is contained in:
Vladimir Carrer 2018-12-06 12:39:27 +01:00 committed by GitHub
parent 1996ff0dff
commit 782268e4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)