Skip to content

Commit

Permalink
update video selector button
Browse files Browse the repository at this point in the history
  • Loading branch information
chapiewsky committed May 13, 2019
1 parent f284066 commit deada8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/giveaways.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,10 @@ async function enterVideoGiveaway(page) {
await page.click('#enter-video-button > span > input');
} else if (selector === 'div.amazon-video') {
await page.waitForSelector(
'#reactApp > div > div > div > div > div > div > div.content > div > div.a-section.a-spacing-none.column-right > div > div.participation-need-action > div > div > div > div.a-button.a-button-primary.amazon-video-continue-button'
'.amazon-video-continue-button'
);
await page.click(
'#reactApp > div > div > div > div > div > div > div.content > div > div.a-section.a-spacing-none.column-right > div > div.participation-need-action > div > div > div > div.a-button.a-button-primary.amazon-video-continue-button'
'.amazon-video-continue-button'
);
} else {
await page.waitForSelector('.youtube-continue-button');
Expand Down

0 comments on commit deada8f

Please sign in to comment.