@Override public WebElement findElementByName(String using) { return ((org.openqa.selenium.internal.FindsByName) wrappedWebElement).findElementByName(using); }
@Override public WebElement findElementByName(String using) { return ((FindsByName) webDriver).findElementByName(using); }
@Override public WebElement findElementByName(String using) { return ((org.openqa.selenium.internal.FindsByName) wrappedWebElement).findElementByName(using); }
@Override public WebElement findElementByName(String using) { return ((org.openqa.selenium.internal.FindsByName) wrappedWebElement).findElementByName(using); }
@Override public WebElement findElementByName(final String using) { return ((FindsByName) webDriver).findElementByName(using); }
@Override public WebElement findElementByName(String using) { return ((org.openqa.selenium.internal.FindsByName) wrappedWebElement).findElementByName(using); }
@Override public WebElement findElement(SearchContext context) { if (context instanceof FindsByName) { return ((FindsByName) context).findElementByName(name); } return ((FindsByXPath) context).findElementByXPath(".//*[@name = '" + name + "']"); }
/** * Finds element by name. */ @Override public WebElement findElementByName(String name) { return ((FindsByName) super.getWrappedDriver()).findElementByName(name); }
/** * Finds element by name. */ @Override public WebElement findElementByName(String name) { return ((FindsByName) super.getWrappedDriver()).findElementByName(name); }
@Override public WebElement findElement(SearchContext context) { if (context instanceof FindsByName) return ((FindsByName) context).findElementByName(name); return ((FindsByXPath) context).findElementByXPath(".//*[@name = '" + name + "']"); }
public WebElement findElementByName(String paramString) { WebElement element = this.getElement(); WebElement foundElement = null; if ( element instanceof FindsByName ) { foundElement = ((FindsByName) element).findElementByName(paramString); } return new SimplePageElement( By.name(paramString), this.getInterface(), foundElement, this ); }
@Override public WebElement findElement(SearchContext context) { WebElement element; if (validCssSelector(selector)) { element = ((FindsByCssSelector) context).findElementByCssSelector(quoteCss(selector)); if (element != null) { return element; } } element = ((FindsByName) context).findElementByName(selector); if (element != null) { return element; } element = ((FindsById) context).findElementById(selector); if (element != null) { return element; } return null; }
@Override public WebElement findElement(SearchContext context) { WebElement element; if (validCssSelector(selector)) { element = ((FindsByCssSelector) context).findElementByCssSelector(quoteCss(selector)); if (element != null) { return element; } } element = ((FindsByName) context).findElementByName(selector); if (element != null) { return element; } element = ((FindsById) context).findElementById(selector); if (element != null) { return element; } return null; }