htmlunit模拟浏览器访问页面,请问怎么设置页面停留时间

WebClient webClient = new WebClient(BrowserVersion.FIREFOX_38,ip,port);
webClient.getOptions().setJavaScriptEnabled(true);
webClient.getOptions().setCssEnabled(false);
webClient.setAjaxController(new NicelyResynchronizingAjaxController());
webClient.getOptions().setTimeout(15000);
webClient.getOptions().setThrowExceptionOnScriptError(false);
webClient.getOptions().setThrowExceptionOnFailingStatusCode(false);
webClient.addRequestHeader("Referer", "http://www.hao123.com");
HtmlPage rootPage= webClient.getPage(url);

Time.out("时间")

Time.out("时间差")

Time.out("时间戳")

webclient.waitForBackgroundJavaScript(10*1000);
webclient.setJavaScriptTimeout(5*1000);