1
1
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:
2025-11-22 14:13:23 +08:00
parent 1038a86aff
commit cd6c899388
5 changed files with 36 additions and 15 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class LibChecker(LibOperator):
) -> bool:
try:
WebDriverWait(self.__driver, 5).until(
WebDriverWait(self.__driver, 2).until(
EC.element_to_be_clickable((By.XPATH, "//a[@href='/history?type=SEAT']"))
).click()
WebDriverWait(self.__driver, 2).until(