aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/download_markit_quotes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/download_markit_quotes.py b/python/download_markit_quotes.py
index 975b5772..a56ee67f 100644
--- a/python/download_markit_quotes.py
+++ b/python/download_markit_quotes.py
@@ -38,8 +38,10 @@ ActionChains(driver).move_to_element(menu).perform()
hiddenmenu = WebDriverWait(driver, 10).until(
EC.element_to_be_clickable((By.CSS_SELECTOR,
"div.MPopUpMenu div.popupContent table tbody tr:nth-of-type(3) td div")))
+time.sleep(5)
hiddenmenu.click()
-WebDriverWait(driver, 10).until(EC.frame_to_be_available_and_switch_to_it((By.NAME, "MFrame")))
+WebDriverWait(driver, 15).until(EC.frame_to_be_available_and_switch_to_it((By.NAME, "MFrame")))
+
try:
link = WebDriverWait(driver, 10).until(EC.element_to_be_clickable(
(By.CSS_SELECTOR,