title: Is there a way to use Selenium to bypass clicking "Accept Cookies" on the cookies pop-up and click the "Add to Cart" button behind it?
body: <p>So I'm testing a bot I've created using Python with Selenium on the Amazon website.</p>
  <p>When the bot opens the browser on the Amazon product page, I'm greeted with a &quot;Select Your Cookies Preference&quot; slide-up pop-up at the bottom of my window.</p>
  <p>I can use my Selenium bot to click the &quot;Accept Cookies&quot; button and then click the &quot;Add to Cart&quot; button, which I coded without any issues - but my question is, can I bypass clicking the &quot;Accept Cookies&quot; button and go straight to clicking the &quot;Add to Cart&quot; button behind this Cookies slide-up pop-up?</p>
  <p>I know I can click on &quot;Add to Cart&quot; without hitting &quot;Accept Cookies&quot; when I manually use the website, but can my bot do this? If so, how? Because I tried to use my bot to click the &quot;Add to Cart&quot; button without clicking the &quot;Accept Cookies&quot; button, but the website wasn't registering the click (even with an implicit wait) - but it works fine when I code the bot to click the &quot;Accept Cookies&quot; button first and then click the &quot;Add to Cart&quot; button.</p>
  <p>Thanks in advance for your time.</p>