-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Considering the following method:
/**
*
* Finds the webfriend of a child elements parent
*
* @param driver the web driver
* @param childElement the child web element
* @param elementTag the element tag to wrap element with
* @param <T> the web friends element type returned
* @param <I> the web friends element type input
* @return
*/
public static <T extends SElement, I extends SElement> T findWebFriendParent(final SmartDriver driver, final I childElement, final TagTypeSelenium<T> elementTag) {
return findWebFriendParent(driver, childElement.getWebElement(), elementTag);
}
Could we add to it where it iterates up through the html tree looking for an ancestor which matches a webfriends element type
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request