public static class HtmlUnitWebElementFinder.WebFindByXPath extends HtmlUnitWebElementFinder.WebElementObject
Constructor and Description |
---|
WebFindByXPath(HtmlUnitDriver driver,
com.gargoylesoftware.htmlunit.html.DomElement element) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By locator) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By locator) |
getElement
getDriver, getLastPage, getRemotable, getValue
public WebFindByXPath(HtmlUnitDriver driver, com.gargoylesoftware.htmlunit.html.DomElement element)
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By locator)
findElement
in class HtmlUnitElementFinder.ElementObject
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By locator)
findElements
in class HtmlUnitElementFinder.ElementObject
Copyright © 2021. All rights reserved.