aquality.selenium.elements.Link Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aquality-selenium Show documentation
Show all versions of aquality-selenium Show documentation
Library around Selenium WebDriver
package aquality.selenium.elements;
import aquality.selenium.core.elements.ElementState;
import aquality.selenium.elements.interfaces.ILink;
import org.openqa.selenium.By;
/**
* The class that describes the link
*/
public class Link extends Element implements ILink {
protected Link(final By locator, final String name, final ElementState state) {
super(locator, name, state);
}
protected String getElementType() {
return getLocalizationManager().getLocalizedMessage("loc.link");
}
@Override
public String getHref() {
return getAttribute("href", HighlightState.DEFAULT);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy