page.waitForNavigation -> page.waitForURL
This commit is contained in:
parent
eb17a49628
commit
b9e9abe546
3 changed files with 6 additions and 8 deletions
1
gog.js
1
gog.js
|
|
@ -76,7 +76,6 @@ try {
|
|||
process.exit(1);
|
||||
}
|
||||
}
|
||||
// await page.waitForNavigation(); // TODO was blocking
|
||||
context.setDefaultTimeout(cfg.timeout);
|
||||
}
|
||||
const user = await page.locator('#menuUsername').first().textContent(); // innerText is uppercase due to styling!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue