Created
January 17, 2019 21:36
-
-
Save shomanishikawa/26b9338904938039c101c18d1b04a01d 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
| try: | |
| selenium.find_element_by_css_selector(FUNCTIONS_MODULE_SELECTOR)) | |
| except NoSuchElementException: | |
| # CODE HERE IF ELEMENT DOES NOT EXIST | |
| else: | |
| # CODE HERE IF ELEMENT EXISTS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment