log signed in user
This commit is contained in:
parent
f949e8effd
commit
777b00b3fb
1 changed files with 2 additions and 1 deletions
|
|
@ -60,7 +60,8 @@ try {
|
|||
context.setDefaultTimeout(TIMEOUT);
|
||||
// process.exit(1);
|
||||
}
|
||||
console.log('Signed in.');
|
||||
const user = await page.locator('#user span').first().innerHTML();
|
||||
console.log(`Signed in as ${user}`);
|
||||
|
||||
// Detect free games
|
||||
const game_loc = await page.locator('a:has(span:text-is("Free Now"))');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue