0

HTML:

<button aria-expanded="false" class="pv-profile-section__see-more-inline link" data-ember-action data-ember-action-2611="2611">

Python:

 buttons = browser.find_elements_by_xpath(u'//button[@class="pv-profile-section__see-more-inline link"]')
    print(buttons)
    for degree in buttons:
        degree.click()

there are two button with the same tag written above but it does not access any of them. It just print the empty list.

SajidSalim
  • 359
  • 6
  • 19

0 Answers0