diff options
Diffstat (limited to 'python/download_markit_quotes.py')
| -rw-r--r-- | python/download_markit_quotes.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/python/download_markit_quotes.py b/python/download_markit_quotes.py index 7f34a759..f1fe2443 100644 --- a/python/download_markit_quotes.py +++ b/python/download_markit_quotes.py @@ -26,14 +26,7 @@ profile.set_preference('browser.helperApps.neverAsk.saveToDisk', 'text/csv') driver = Firefox(profile) driver.get("https://products.markit.com/") -button = WebDriverWait(driver, 15).until( - EC.element_to_be_clickable((By.ID, - "notificationClose"))) -try: - button.click() -except ElementNotInteractableException: - time.sleep(1) - button.click() +time.sleep(1) driver.find_element_by_id("username").send_keys(markit_login) driver.find_element_by_id("password").send_keys(markit_password) |
