From 79f4ccc4b3c9ecfb151b5b6ee03f2b5382e7b9cd Mon Sep 17 00:00:00 2001 From: Sam Yun Date: Sun, 23 Dec 2018 19:50:56 -0800 Subject: [PATCH] Update xpath --- EMS Paperwork Tool/autofill_tool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/EMS Paperwork Tool/autofill_tool.py b/EMS Paperwork Tool/autofill_tool.py index 60e9cc2..5b144f1 100644 --- a/EMS Paperwork Tool/autofill_tool.py +++ b/EMS Paperwork Tool/autofill_tool.py @@ -1091,7 +1091,6 @@ def get_list_of_schedule(self, column_number): "end_time" """ - #data_row_xpath = "/html/body/div[5]/table[2]/tbody/tr[2]/td/table/tbody/tr/td/table[2]/tbody/tr" data_row_xpath = "/html/body/div[5]/table[2]/tbody/tr[2]/td/table/tbody/tr/td/table/tbody/tr" list_of_rows = self.driver.find_elements_by_xpath(data_row_xpath) if len(list_of_rows) == 0: