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

2

1 Answer 1

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() 
20
  • Thanks but its got an error unable to locate elementCommentedApr 23, 2018 at 17:05
  • Could you search for the locators? is id static ? or it has multiple web element associate with itCommentedApr 23, 2018 at 17:09
  • linkCommentedApr 23, 2018 at 17:09
  • Yeah ! Gimme some time!CommentedApr 23, 2018 at 17:09
  • Where is upload button ?CommentedApr 23, 2018 at 17:10

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.