拉长webdriver wait时间
This commit is contained in:
parent
d5229194a4
commit
7713ce197d
@ -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']"))
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user