Skip to content

Commit

Permalink
Check for switch account page after navigating back to giveaways
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Chapiewsky committed Apr 7, 2019
1 parent b8bd5f1 commit da6a600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/giveaways.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ async function enterGiveaways(page, pageNumber) {

//go back
await page.goBack();
await checkForSwitchAccount(page);
await checkForPassword(page, pageNumber);
} else {
console.log('giveaway ' + i + ' cannot be entered.');
Expand Down

0 comments on commit da6a600

Please sign in to comment.