org.openqa.selenium.internal.FindsByLinkText Java Examples

The following examples show how to use org.openqa.selenium.internal.FindsByLinkText. 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 link text.
 */
@Override
public WebElement findElementByLinkText(String linkText) {
  return ((FindsByLinkText) super.getWrappedDriver()).findElementByLinkText(linkText);
}
 
Example #2
Source File: WebDriverWrapper.java    From bobcat with Apache License 2.0 4 votes vote down vote up
/**
 * Finds elements by link text.
 */
@Override
public List<WebElement> findElementsByLinkText(String linkText) {
  return ((FindsByLinkText) super.getWrappedDriver()).findElementsByLinkText(linkText);
}
 
Example #3
Source File: WebDriverWrapper.java    From bobcat with Apache License 2.0 4 votes vote down vote up
/**
 * Finds element by partial link text.
 */
@Override
public WebElement findElementByPartialLinkText(String partialLinkText) {
  return ((FindsByLinkText) super.getWrappedDriver())
      .findElementByPartialLinkText(partialLinkText);
}
 
Example #4
Source File: WebDriverWrapper.java    From bobcat with Apache License 2.0 4 votes vote down vote up
/**
 * Finds elements by partial link text.
 */
@Override
public List<WebElement> findElementsByPartialLinkText(String partialLinkText) {
  return ((FindsByLinkText) super.getWrappedDriver())
      .findElementsByPartialLinkText(partialLinkText);
}
 
Example #5
Source File: TargetedWebElement.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public WebElement findElementByLinkText(String using) {
    return targetedWebElement(((FindsByLinkText) element()).findElementByLinkText(using));
}
 
Example #6
Source File: TargetedWebElement.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<WebElement> findElementsByLinkText(String using) {
    return targetedWebElements(((FindsByLinkText) element()).findElementsByLinkText(using));
}
 
Example #7
Source File: TargetedWebElement.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public WebElement findElementByPartialLinkText(String using) {
    return targetedWebElement(((FindsByLinkText) element()).findElementByPartialLinkText(using));
}
 
Example #8
Source File: TargetedWebElement.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<WebElement> findElementsByPartialLinkText(String using) {
    return targetedWebElements(((FindsByLinkText) element()).findElementsByPartialLinkText(using));
}
 
Example #9
Source File: ForwardingTargetedWebDriver.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public WebElement findElementByLinkText(String using) {
    return targetedWebElement(((FindsByLinkText) driver()).findElementByLinkText(using));
}
 
Example #10
Source File: ForwardingTargetedWebDriver.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<WebElement> findElementsByLinkText(String using) {
    return targetedWebElements(((FindsByLinkText) driver()).findElementsByLinkText(using));
}
 
Example #11
Source File: ForwardingTargetedWebDriver.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public WebElement findElementByPartialLinkText(String using) {
    return targetedWebElement(((FindsByLinkText) driver()).findElementByPartialLinkText(using));
}
 
Example #12
Source File: ForwardingTargetedWebDriver.java    From darcy-webdriver with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<WebElement> findElementsByPartialLinkText(String using) {
    return targetedWebElements(((FindsByLinkText) driver()).findElementsByPartialLinkText
            (using));
}