From deada8f545dbf4f9cc776c61e1090ff4583b6f5d Mon Sep 17 00:00:00 2001 From: chapiewsky Date: Mon, 13 May 2019 11:26:14 -0500 Subject: [PATCH] update video selector button --- src/giveaways.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/giveaways.js b/src/giveaways.js index 3405c40..a309949 100644 --- a/src/giveaways.js +++ b/src/giveaways.js @@ -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');