-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selenium: Add new methods to the "SeleniumWebDriverHelper" class #8995
Conversation
* <p>throws {@link org.openqa.selenium.TimeoutException} if at least one of the found | ||
* elements is not visible after timeout; | ||
*/ | ||
public List<WebElement> waitAllVisibility(By elementsLocator, int timeout) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO method name waitVisibilityOfAllElements()
sounds clearer.
* @param elementsLocator common locator for multiple elements | ||
* @return all found elements | ||
*/ | ||
public List<WebElement> waitAllPresence(By elementsLocator) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO method name waitPresenceOfAllElements()
sounds clearer.
} | ||
|
||
/** | ||
* Waits until all {@link WebElement} with provided {@code elementsLocator} be attached to DOM it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
be attached
> are attached
it does not mean that elements are visible
> They are not necessary have to be visible.
What does this PR do?
Add new methods to the "SeleniumWebDriverHelper" class
What issues does this PR fix or reference?
Issue: #8988
Release Notes
Docs PR