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

Method initialize

src/main/java/org/htmlunit/WebClient.java:1291–1297  ·  view source on GitHub ↗

INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Initializes a new web window for JavaScript. @param webWindow the new WebWindow @param page the page that will become the enclosing page

(final WebWindow webWindow, final Page page)

Source from the content-addressed store, hash-verified

1289 * @param page the page that will become the enclosing page
1290 */
1291 public void initialize(final WebWindow webWindow, final Page page) {
1292 WebAssert.notNull("webWindow", webWindow);
1293
1294 if (isJavaScriptEngineEnabled()) {
1295 scriptEngine_.initialize(webWindow, page);
1296 }
1297 }
1298
1299 /**
1300 * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br>

Callers 1

initializeEmptyWindowMethod · 0.95

Calls 3

notNullMethod · 0.95
initializeMethod · 0.65

Tested by

no test coverage detected