0

<button id="upload-resume" type="button" class="btn btn-primary btn-lg btn-block ng-binding" ng-show="canUpload()" ng-click="submit()" ng-disabled="submitButtonDisabled" tabindex="0" aria-hidden="false" aria-disabled="false">Continue</button>

how to click on this button using selenium python

bhupathi turaga
  • 297
  • 2
  • 16
  • 3
    Possible duplicate of [python selenium click on button](https://stackoverflow.com/questions/21350605/python-selenium-click-on-button) – Morpheus Apr 23 '18 at 16:46
  • `button = browser.find_element_by_id('upload-resume')` `button.click()` – Morpheus Apr 23 '18 at 16:49

1 Answers1

1

try this code :

upload_button = driver.find_element_by_id("upload-resume")
upload_button.click()  

If you wanna use Xpath , then you can use this code:

 upload_button = driver.find_element_by_xpath("//input[text()='Continue']")  
 upload_button.click()
cruisepandey
  • 28,520
  • 6
  • 20
  • 38