From 7e2449b7173a165bc08d793a7475f0616dbf3880 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Fri, 22 Feb 2019 08:26:52 +1100 Subject: [PATCH] Remove redundant return_to_master_frame() function --- waternsw_grabber/waternsw_grabber.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/waternsw_grabber/waternsw_grabber.py b/waternsw_grabber/waternsw_grabber.py index b76bff7..bd89910 100644 --- a/waternsw_grabber/waternsw_grabber.py +++ b/waternsw_grabber/waternsw_grabber.py @@ -39,12 +39,6 @@ def has_admin(): return False -def return_to_master_frame(driver): - driver.switch_to.default_content() - webhyd = driver.find_element_by_id('webhyd') - driver.switch_to.frame(webhyd) - - def wait_for_element(driver, by, x, timeout=60): try: element_present = EC.presence_of_element_located((by, x))