jared 1 year ago
parent
commit
b1567ef8a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deployment/click_twice.py

+ 1 - 0
deployment/click_twice.py

@@ -127,6 +127,7 @@ def click_allowed():
             if url in href:
                 print(href)
                 webdriver.ActionChains(driver).move_to_element(elmt).perform()
+                time.sleep(1)
                 webdriver.ActionChains(driver).move_to_element(elmt).click().perform()
                 time.sleep(5)
                 return