mirror of
https://github.com/KenanZhu/AutoLibrary.git
synced 2026-06-18 07:23:03 +08:00
fix(*): optimize the operators' performance when invoking webdriver
we consume the wait time of webdriver and its implicit wait time
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ class LibCheckin(LibOperator):
|
||||
) -> bool:
|
||||
|
||||
try:
|
||||
WebDriverWait(self.__driver, 5).until(
|
||||
WebDriverWait(self.__driver, 2).until(
|
||||
EC.presence_of_element_located((By.CLASS_NAME, "ui_dialog"))
|
||||
)
|
||||
WebDriverWait(self.__driver, 2).until(
|
||||
|
||||
Reference in New Issue
Block a user