DecoratedWebElement extends DecoratedChild<WebElement,DecoratedWebDriver> implements WebElement, WrapsElement, Locatable { @Override public String getAttribute(final String name) { return getOriginal().getAttribute(name); } DecoratedWebElement(final WebElement element, final DecoratedWebDriver driverWrapper); @Override final WebElement getWrappedElement(); @Override void click(); @Override void submit(); @Override void sendKeys(final CharSequence... keysToSend); @Override void clear(); @Override String getTagName(); @Override String getAttribute(final String name); @Override boolean isSelected(); @Override boolean isEnabled(); @Override String getText(); @Override List<WebElement> findElements(final By by); @Override WebElement findElement(final By by); @Override boolean isDisplayed(); @Override Point getLocation(); @Override Dimension getSize(); @Override Rectangle getRect(); @Override String getCssValue(final String propertyName); Coordinates getCoordinates(); @Override X getScreenshotAs(OutputType<X> outputType);  }
@Test void testGetAttribute() { verifyFunction($ -> $.getAttribute("value"), "test"); }