jared hai 1 ano
pai
achega
b1567ef8a2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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