From aecf3070dcdd9a3f76843b79fb0b447b70b9870c Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 14 Feb 2019 13:28:00 +1100 Subject: [PATCH] Increase timeout for data download screen --- waternsw_grabber/waternsw_grabber.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waternsw_grabber/waternsw_grabber.py b/waternsw_grabber/waternsw_grabber.py index 07e7e24..27524e4 100644 --- a/waternsw_grabber/waternsw_grabber.py +++ b/waternsw_grabber/waternsw_grabber.py @@ -111,7 +111,8 @@ def get_telemetered_bore(driver, bore_id, start_date, end_date): # Close popup wait_for_element(driver, By.XPATH, - "//div[contains(@class, 'lity-container')]") + "//div[contains(@class, 'lity-container')]", + timeout=30) webdriver.ActionChains(driver).send_keys(Keys.ESCAPE).perform()