From: Ahmed A. <asa...@ya...> - 2015-05-20 23:51:45
|
Hi, You can get WebClient/Page from each other by something like: webClient.getWebWindows().get(0).getEnclosedPage(); page.getEnclosingWindow().getHistory().back(); Ahmed From: Roberto Bottoni - AfterBit <r.b...@af...> To: htm...@li... Sent: Wednesday, May 20, 2015 7:13 PM Subject: [Htmlunit-user] Browser back button Hi, I would like to simulate the browser "back button" and get the Html Page i searched internet.. and i have found this : webClient.getWebWindows().get(0).getHistory().back(); but.. how can i get the Html Page (if works the above command ) ? Thanks! Roberto |