eg: debug: window.screen
This commit is contained in:
parent
b449ee4d7f
commit
97882c76c3
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ if (!cfg.debug) context.setDefaultTimeout(cfg.timeout);
|
|||
|
||||
const page = context.pages().length ? context.pages()[0] : await context.newPage(); // should always exist
|
||||
// console.debug('userAgent:', await page.evaluate(() => navigator.userAgent));
|
||||
if (cfg.debug) console.debug(await page.evaluate(() => window.screen));
|
||||
if (cfg.record && cfg.debug) {
|
||||
// const filter = _ => true;
|
||||
const filter = r => r.url().includes('store.epicgames.com');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue