org.openqa.selenium.internal.FindsByTagName Java Examples

The following examples show how to use org.openqa.selenium.internal.FindsByTagName. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WebDriverWrapper.java    From bobcat with Apache License 2.0 4 votes vote down vote up
/**
 * Finds element by tag name.
 */
@Override
public WebElement findElementByTagName(String tagName) {
  return ((FindsByTagName) super.getWrappedDriver()).findElementByTagName(tagName);
}
 
Example #2
Source File: WebDriverWrapper.java    From bobcat with Apache License 2.0 4 votes vote down vote up
/**
 * Finds elements by tag name.
 */
@Override
public List<WebElement> findElementsByTagName(String tagName) {
  return ((FindsByTagName) super.getWrappedDriver()).findElementsByTagName(tagName);
}
 
Example #3
Source File: TargetedWebElement.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public WebElement findElementByTagName(String using) {
    return targetedWebElement(((FindsByTagName) element()).findElementByTagName(using));
}
 
Example #4
Source File: TargetedWebElement.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<WebElement> findElementsByTagName(String using) {
    return targetedWebElements(((FindsByTagName) element()).findElementsByTagName(using));
}
 
Example #5
Source File: ForwardingTargetedWebDriver.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public WebElement findElementByTagName(String using) {
    return targetedWebElement(((FindsByTagName) driver()).findElementByTagName(using));
}
 
Example #6
Source File: ForwardingTargetedWebDriver.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<WebElement> findElementsByTagName(String using) {
    return targetedWebElements(((FindsByTagName) driver()).findElementsByTagName(using));
}