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

Method click

src/main/java/org/htmlunit/html/DomElement.java:940–942  ·  view source on GitHub ↗

Simulates clicking on this element, returning the page in the window that has the focus after the element has been clicked. Note that the returned page may or may not be the same as the original page, depending on the type of element being clicked, the presence of JavaScript action listeners, etc.<b

()

Source from the content-addressed store, hash-verified

938 * @exception IOException if an IO error occurs
939 */
940 public <P extends Page> P click() throws IOException {
941 return click(false, false, false);
942 }
943
944 /**
945 * Simulates clicking on this element, returning the page in the window that has the focus

Callers 2

dblClickMethod · 0.95

Calls 15

getWebClientMethod · 0.95
setCurrentWindowMethod · 0.95
getEnclosingWindowMethod · 0.95
mouseDownMethod · 0.95
getJavaScriptEngineMethod · 0.95
isJavaScriptEnabledMethod · 0.95
getBrowserVersionMethod · 0.95
focusMethod · 0.95
mouseUpMethod · 0.95
getEventTargetElementMethod · 0.95

Tested by 1