org.openqa.selenium.remote.RemoteWebDriver.findElementByPartialLinkText()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.openqa.selenium.remote.RemoteWebDriver.findElementByPartialLinkText方法的一些代码示例,展示了RemoteWebDriver.findElementByPartialLinkText的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RemoteWebDriver.findElementByPartialLinkText方法的具体详情如下:
包路径:org.openqa.selenium.remote.RemoteWebDriver
类名称:RemoteWebDriver
方法名:findElementByPartialLinkText

RemoteWebDriver.findElementByPartialLinkText介绍

暂无

代码示例

代码示例来源:origin: testcontainers/testcontainers-java

protected static void doSimpleExplore(BrowserWebDriverContainer rule) {
  RemoteWebDriver driver = setupDriverFromRule(rule);
  driver.get("http://en.wikipedia.org/wiki/Randomness");
  // Oh! The irony!
  assertTrue("Randomness' description has the word 'pattern'", driver.findElementByPartialLinkText("pattern").isDisplayed());
}

代码示例来源:origin: appium/java-client

/**
 * Finds a single element by partial link text.
 *
 * @throws WebDriverException This method doesn't work against native app UI.
 */
public T findElementByPartialLinkText(String using) throws WebDriverException {
  return (T) super.findElementByPartialLinkText(using);
}

代码示例来源:origin: io.appium/java-client

/**
 * Finds a single element by partial link text.
 *
 * @throws WebDriverException This method doesn't work against native app UI.
 */
public T findElementByPartialLinkText(String using) throws WebDriverException {
  return (T) super.findElementByPartialLinkText(using);
}

代码示例来源:origin: org.mycore/selenium-utils

public WebElement findElementByPartialLinkText(String using) {
  return delegate.findElementByPartialLinkText(using);
}

代码示例来源:origin: org.xwiki.platform/xwiki-platform-test-ui

@Override
public WebElement findElementByPartialLinkText(String using)
{
  return this.scrollTo(this.wrappedDriver.findElementByPartialLinkText(using));
}

相关文章