Last active
October 18, 2020 23:57
-
-
Save thepycoach/eaf8057666eabd2b13e53f42f33160ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for sport in sport_title: | |
| # selecting only football | |
| if sport.text == 'Football': | |
| parent = sport.find_element_by_xpath('./..') | |
| grandparent = parent.find_element_by_xpath('./..') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment