Project

General

Profile

Actions

question_answer #4118

open

answer_ana

Added by UserName LastName over 1 year ago.

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

Also available in: Atom PDF