拉长webdriver wait时间

This commit is contained in:
madokax 2024-01-02 13:04:19 +08:00
parent d5229194a4
commit 7713ce197d

View File

@ -243,7 +243,7 @@ class Signup:
self.driver.switch_to.frame(change_challenge_frame)
try:
WebDriverWait(self.driver, 10).until(
WebDriverWait(self.driver, 20).until(
EC.presence_of_element_located((By.XPATH, "//button[text()='Begin puzzle']"))
)