Remove redundant return_to_master_frame() function

master
Dan Howe 6 years ago
parent ad131de6b1
commit 7e2449b717

@ -39,12 +39,6 @@ def has_admin():
return False 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): def wait_for_element(driver, by, x, timeout=60):
try: try:
element_present = EC.presence_of_element_located((by, x)) element_present = EC.presence_of_element_located((by, x))

Loading…
Cancel
Save