HtmlPage open1 = (HtmlPage) webClient.getPage("http://www.google.com");
ScriptResult result = open1.executeJavaScript("window.location.assign('https://www.google.com.tr/search?q'));
HtmlPage afterExecution = (HtmlPage) result.getNewPage();
System.out.println(afterExecution); //in window new adres
同じウィンドウで新しいサイトを開くにはどうすればよいですか?