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

Method getFocusedElement

src/main/java/org/htmlunit/html/HtmlPage.java:2571–2573  ·  view source on GitHub ↗

Returns the element with the focus or null if no element has the focus. @return the element with focus or null @see #setFocusedElement(DomElement)

()

Source from the content-addressed store, hash-verified

2569 * @see #setFocusedElement(DomElement)
2570 */
2571 public DomElement getFocusedElement() {
2572 return elementWithFocus_;
2573 }
2574
2575 /**
2576 * <p><span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span></p>

Callers 14

callInheritedFunctionMethod · 0.95
select_focusMethod · 0.95
blurMethod · 0.95
typeMethod · 0.95
pressAccessKeyMethod · 0.95
tabToNextElementMethod · 0.95
tabToPreviousElementMethod · 0.95
getActiveElementMethod · 0.95
selectsPseudoClassMethod · 0.95

Calls

no outgoing calls

Tested by 5

callInheritedFunctionMethod · 0.76
select_focusMethod · 0.76