MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / dump

Method dump

src/main/java/org/htmlunit/javascript/host/Window.java:666–670  ·  view source on GitHub ↗

Logs messages to the browser's standard output (stdout). If the browser was started from a terminal, output sent to dump() will appear in the terminal. Output from dump() is not sent to the browser's developer tools console. To log to the developer tools console, use console.log(). HtmlUnit alwa

(final String message)

Source from the content-addressed store, hash-verified

664 * @param message the message to log
665 */
666 @JsxFunction({FF, FF_ESR})
667 public void dump(final String message) {
668 final WebConsole console = getWebWindow().getWebClient().getWebConsole();
669 console.print(Context.getCurrentContext(), getParentScope(), Level.INFO, new String[] {message}, null);
670 }
671
672 /**
673 * Invokes all the animation callbacks registered for this window by

Callers

nothing calls this directly

Calls 5

getWebWindowMethod · 0.95
printMethod · 0.95
getWebConsoleMethod · 0.80
getParentScopeMethod · 0.80
getWebClientMethod · 0.65

Tested by

no test coverage detected