Skip to content

Instantly share code, notes, and snippets.

@altendky
Forked from converge/ok.py
Last active October 17, 2017 03:58
Show Gist options
  • Save altendky/e1c361d58eab29c737eaa41049d40f5f to your computer and use it in GitHub Desktop.
Save altendky/e1c361d58eab29c737eaa41049d40f5f to your computer and use it in GitHub Desktop.
browser.find_element_by_xpath('//article/div[2]/section[2]/div/a').click()
try:
tmp_list = browser.find_element__by_tag_name('_6e4x5')
except NoSuchElementException:
tmp_list = browser.find_element_by_class_name('_3gwk6')
tmp_list = tmp_list.find_elements_by_tag_name('a')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment