Skip to content
Snippets Groups Projects
Verified Commit cd5bf1ff authored by Théo Pirkl's avatar Théo Pirkl :nail_care:
Browse files

Fixes stuborn web interface

parent af632d30
Branches
No related tags found
No related merge requests found
......@@ -307,7 +307,7 @@ class Parser:
ActionChains(self.driver).click(self.driver.find_element_by_xpath(DONE_ACTIONS_BUTTON)).pause(0.5).perform()
logger.info("Setting filename...")
while len(self.driver.find_elements_by_xpath(DONE_FILENAME)) == 0:
for i in range(5):
logger.warning("Stuborn web interface not responding, retrying")
ActionChains(self.driver).click(self.driver.find_element_by_xpath(DONE_ACTIONS_BUTTON)).pause(
0.5).perform()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment