/** * Finds element by class name. */ @Override public WebElement findElementByClassName(String className) { return ((FindsByClassName) super.getWrappedDriver()).findElementByClassName(className); }
/** * Finds elements by class name. */ @Override public List<WebElement> findElementsByClassName(String className) { return ((FindsByClassName) super.getWrappedDriver()).findElementsByClassName(className); }
@Override public WebElement findElementByClassName(String using) { return targetedWebElement(((FindsByClassName) element()).findElementByClassName(using)); }
@Override public List<WebElement> findElementsByClassName(String using) { return targetedWebElements(((FindsByClassName) element()).findElementsByClassName(using)); }
@Override public WebElement findElementByClassName(String using) { return targetedWebElement(((FindsByClassName) driver()).findElementByClassName(using)); }
@Override public List<WebElement> findElementsByClassName(String using) { return targetedWebElements(((FindsByClassName) driver()).findElementsByClassName(using)); }