I am using Python Selenium and am trying to select in input box that does not have an ID
<div class="form-group"><input type="email" class="form-control" name="quantity" placeholder="Type a quantity"></div>
inputElement = driver.find_element_by_id("quantity")
What is the best way to select this element, by name?
find_element_by_name()
method would fit here:
driver.find_element_by_name("quantity")