From: Greg J. <gre...@sa...> - 2015-11-06 11:08:31
|
Hi Ahmed, That is an amazingly generous response to what turns out to be a very dumb question! Thank you for a wonderful product. Best wishes, Greg. > On 6 Nov 2015, at 20:34, Ahmed Ashour <asa...@ya...> wrote: > > Hi Greg, > > I was about to joke that this is a security feature :) > > Actually, HtmlUnit exactly matches real IE11 behavior (yes, a blank page). > > You need to change the BrowserVersion to CHROME, and send feedback to the bank about that. > > Ahmed > From: Greg Johnson <gre...@sa...> > To: htm...@li... > Sent: Friday, November 6, 2015 6:03 AM > Subject: [Htmlunit-user] IFrame and Javascript? > > 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 <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 > ------------------------------------------------------------------------------ > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user |