|
From: Greg J. <gre...@sa...> - 2015-11-06 05:24:59
|
Hi Guys, Logging into this banking site page with HtmlUnit used to work perfectly before the site added an Iframe.
Now the following 2.18 code returns a blank (about:blank) page:
public class HtmlUnitTest {
private static final String NAB_INTERNET_BANKING = "https://ib.nab.com.au/nabib/index.jsp";
@Test
public void testGetPageWithIFrame() throws Exception {
WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER_11);
HtmlPage page = (HtmlPage) webClient.getPage(NAB_INTERNET_BANKING);
}
}
I have tried to work through the HtmlUnit code but cannot see what is happening, any ideas or help would be much appreciated.
Many thanks, Regards, Greg Johnson
|