本文整理了Java中org.openqa.selenium.remote.RemoteWebDriver.findElementsByCssSelector
方法的一些代码示例,展示了RemoteWebDriver.findElementsByCssSelector
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RemoteWebDriver.findElementsByCssSelector
方法的具体详情如下:
包路径:org.openqa.selenium.remote.RemoteWebDriver
类名称:RemoteWebDriver
方法名:findElementsByCssSelector
暂无
代码示例来源:origin: appium/java-client
/**
* Finds many elements by CSS selector.
*
* @throws WebDriverException This method doesn't work against native app UI.
*/
public List findElementsByCssSelector(String using) throws WebDriverException {
return super.findElementsByCssSelector(using);
}
代码示例来源:origin: io.appium/java-client
/**
* Finds many elements by CSS selector.
*
* @throws WebDriverException This method doesn't work against native app UI.
*/
public List findElementsByCssSelector(String using) throws WebDriverException {
return super.findElementsByCssSelector(using);
}
代码示例来源:origin: org.xwiki.platform/xwiki-platform-test-ui
@Override
public List<WebElement> findElementsByCssSelector(String using)
{
return this.wrappedDriver.findElementsByCssSelector(using);
}
代码示例来源:origin: com.saucelabs/sebuilder-interpreter
@Override
public List<WebElement> findElements(String value, TestRun ctx) {
return ctx.driver.findElementsByCssSelector(value);
}
},
代码示例来源:origin: org.mycore/selenium-utils
public List<WebElement> findElementsByCssSelector(String using) {
return delegate.findElementsByCssSelector(using);
}
代码示例来源:origin: com.github.becauseQA/becauseQA-utils
@Override
public List<WebElement> findElementsByName(String using) {
if (getW3CStandardComplianceLevel() == 0) {
return findElements("name", using);
}
return findElementsByCssSelector("*[name='" + using + "']");
}
代码示例来源:origin: com.github.becauseQA/becauseQA-utils
@Override
public List<WebElement> findElementsByTagName(String using) {
if (getW3CStandardComplianceLevel() == 0) {
return findElements("tag name", using);
}
return findElementsByCssSelector(using);
}
代码示例来源:origin: com.github.becauseQA/becauseQA-utils
@Override
public List<WebElement> findElementsByClassName(String using) {
if (getW3CStandardComplianceLevel() == 0) {
return findElements("class name", using);
}
return findElementsByCssSelector("." + cssEscape(using));
}
代码示例来源:origin: com.github.becauseQA/becauseQA-utils
@Override
public List<WebElement> findElementsById(String using) {
if (getW3CStandardComplianceLevel() == 0) {
return findElements("id", using);
}
return findElementsByCssSelector("#" + cssEscape(using));
}
内容来源于网络,如有侵权,请联系作者删除!