Actions
question_answer #4118
openanswer_ana
Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/26/2024
Due date:
% Done:
0%
Estimated time:
answer:
- '选项B: new WebDriverWait(driver, Duration.ofSeconds(20), Duration.ofSeconds(2)).until(ExpectedConditions.elementToBeClickable(by));'
answer_analysis:
显式等待,WebDriverWait(self.driver, 10).until(expected_conditions.element_to_be_clickable(locator))可以等待元素处于可点击的状态。
...
No data to display
Actions