@Override public WebElement findElementByClassName(String using) { return ((org.openqa.selenium.internal.FindsByClassName) wrappedWebElement) .findElementByClassName(using); }
@Override public WebElement findElementByClassName(String using) { return ((org.openqa.selenium.internal.FindsByClassName) wrappedWebElement).findElementByClassName(using); }
@Override public WebElement findElementByClassName(String using) { return ((org.openqa.selenium.internal.FindsByClassName) wrappedWebElement) .findElementByClassName(using); }
@Override public WebElement findElementByClassName(String using) { return ((FindsByClassName) webDriver).findElementByClassName(using); }
@Override public WebElement findElementByClassName(String using) { return ((org.openqa.selenium.internal.FindsByClassName) wrappedWebElement).findElementByClassName(using); }
@Override public WebElement findElementByClassName(final String using) { return ((FindsByClassName) webDriver).findElementByClassName(using); }
@Override public WebElement findElement(SearchContext context) { if (context instanceof FindsByClassName) return ((FindsByClassName) context).findElementByClassName(className); return ((FindsByXPath) context).findElementByXPath(".//*[" + "@class = '" + className + "']"); }
/** * Finds element by class name. */ @Override public WebElement findElementByClassName(String className) { return ((FindsByClassName) super.getWrappedDriver()).findElementByClassName(className); }
/** * Finds element by class name. */ @Override public WebElement findElementByClassName(String className) { return ((FindsByClassName) super.getWrappedDriver()).findElementByClassName(className); }
@Override public WebElement findElement(SearchContext context) { if (context instanceof FindsByClassName) return ((FindsByClassName) context).findElementByClassName(className); return ((FindsByXPath) context).findElementByXPath(".//*[" + containingWord("class", className) + "]"); }
@Override public WebElement findElement(SearchContext context) { if (context instanceof FindsByClassName) { return ((FindsByClassName) context).findElementByClassName(className); } return ((FindsByXPath) context).findElementByXPath( ".//*[" + containingWord("class", className) + "]"); }
public WebElement findElementByClassName(String paramString) { WebElement element = this.getElement(); WebElement foundElement = null; if ( element instanceof FindsByClassName ) { foundElement = ((FindsByClassName) element).findElementByClassName(paramString); } return new SimplePageElement( By.className(paramString), this.getInterface(), foundElement, this ); }