I've seen this error everywhere, but none of the solutions have seemed to work.
This is my code:
contpayment = driver.find_element_by_class_name('nsg-bg--nike-orange')
Python/selenium finds this element perfectly, but when trying to click it throws an eception:
"ElementNotVisibleException: Message: element not visible"
I've even tried adding a
time.sleep(10) to ensure the page has completely loaded, but it still returns the same exception... Even finding by XPath and id gives the same.
Here is the HTML Code:
<button type="button" id="shippingSubmit" name="shipSubmit" class="visible- xs-block hidden-sm nsg-button--thin nsg-bg--nike-orange uppercase change- section-button ng-binding" ng-click="sendForm('Payment')">Continue to Payment </button>
Any help would be appreciated !