MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / getHrefAttribute

Method getHrefAttribute

src/main/java/org/htmlunit/html/HtmlArea.java:133–135  ·  view source on GitHub ↗

Returns the value of the attribute href. Refer to the HTML 4.01 documentation for details on the use of this attribute. @return the value of the attribute href or an empty string if that attribute isn't defined

()

Source from the content-addressed store, hash-verified

131 * @return the value of the attribute {@code href} or an empty string if that attribute isn't defined
132 */
133 public final String getHrefAttribute() {
134 return getAttributeDirect("href");
135 }
136
137 /**
138 * Returns the value of the attribute {@code nohref}. Refer to the

Callers 10

focusMethod · 0.95
getHrefMethod · 0.95
setUsernameMethod · 0.95
setPasswordMethod · 0.95
getUrlMethod · 0.95
doClickStateUpdateMethod · 0.95
getHrefMethod · 0.45
clickMethod · 0.45
focusMethod · 0.45
getBaseURLMethod · 0.45

Calls 1

getAttributeDirectMethod · 0.80

Tested by

no test coverage detected