org.openqa.selenium.internal.FindsByName Java Examples

The following examples show how to use org.openqa.selenium.internal.FindsByName. 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 name.
 */
@Override
public WebElement findElementByName(String name) {
  return ((FindsByName) super.getWrappedDriver()).findElementByName(name);
}
 
Example #2
Source File: WebDriverWrapper.java    From bobcat with Apache License 2.0 4 votes vote down vote up
/**
 * Finds elements by name.
 */
@Override
public List<WebElement> findElementsByName(String name) {
  return ((FindsByName) super.getWrappedDriver()).findElementsByName(name);
}
 
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 findElementByName(String using) {
    return targetedWebElement(((FindsByName) element()).findElementByName(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> findElementsByName(String using) {
    return targetedWebElements(((FindsByName) element()).findElementsByName(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 findElementByName(String using) {
    return targetedWebElement(((FindsByName) driver()).findElementByName(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> findElementsByName(String using) {
    return targetedWebElements(((FindsByName) driver()).findElementsByName(using));
}