|
|
@ -143,10 +143,13 @@ def get_telemetered_bore(driver, bore_id, start_date, end_date):
|
|
|
|
interval.select_by_visible_text('All points')
|
|
|
|
interval.select_by_visible_text('All points')
|
|
|
|
|
|
|
|
|
|
|
|
# Make sure 'Groundwater Level - AHD' is selected as an output
|
|
|
|
# Make sure 'Groundwater Level - AHD' is selected as an output
|
|
|
|
checkbox = driver.find_element_by_xpath(
|
|
|
|
try:
|
|
|
|
'//*/input[contains(@name, "sel__110.00_115.00")]')
|
|
|
|
checkbox = driver.find_element_by_xpath(
|
|
|
|
if not checkbox.get_attribute('selected'):
|
|
|
|
'//*/input[contains(@name, "sel__110.00_115.00")]')
|
|
|
|
checkbox.click()
|
|
|
|
if not checkbox.get_attribute('selected'):
|
|
|
|
|
|
|
|
checkbox.click()
|
|
|
|
|
|
|
|
except NoSuchElementException:
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
# Download data
|
|
|
|
# Download data
|
|
|
|
driver.execute_script("get_output()")
|
|
|
|
driver.execute_script("get_output()")
|
|
|
|