Explorar el Código

lower selenium timeouts are still working fine

Rodja Trappe hace 2 años
padre
commit
166fb05078
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      tests/conftest.py

+ 2 - 2
tests/conftest.py

@@ -16,8 +16,8 @@ def chrome_options(chrome_options):
 
 
 @pytest.fixture
 @pytest.fixture
 def selenium(selenium):
 def selenium(selenium):
-    selenium.implicitly_wait(2)
-    selenium.set_page_load_timeout(5)
+    selenium.implicitly_wait(0.1)
+    selenium.set_page_load_timeout(1)
     return selenium
     return selenium