Adding to Cart in Amazon using Selenium python
<p>I would like to use Selenium (in python) to add items to my Amazon cart. Specifically from a page such as:
<a href="https://www.amazon.com/gp/offer-listing/B01GHQ02DK/ie=UTF8&amp;condition=all" rel="nofollow noreferrer">https://www.amazon.com/gp/offer-listing/B01GHQ02DK/ie=UTF8&amp;condition=all</a>
**copy this link into your browser, don't click directly.</p>

<p>As you can see there are several options to choose from to add to your cart. Looking at the source code I can't figure how to "click the button" that would add my desired choice to the cart (for instance let's say I wanted the 2nd one down in the list). Any help would be greatly appreciated, thanks.</p>

<p>Edit: Added sample code of what i'd like accomplished. Need help filling in the blanks.</p>

<pre><code>from selenium import webdriver

url = "https://....**website posted above**"
driver = webdriver.Firefox()
driver.get(url)  

def add2ndItemToCart():
    # Don't know what to put here

add2ndItemToCart()
</code></pre>