From: Alain B. <alb...@gm...> - 2014-12-18 09:50:09
|
Perhaps you can have a look at these links http://htmlunit.10904.n7.nabble.com/how-to-access-popup-windows-td25226.html http://stackoverflow.com/questions/5336280/why-doesnt-htmlunit-work-on-this-https-webpage http://stackoverflow.com/questions/17631933/obtaining-elements-from-javascript-pop-up-window-using-htmlunit The last one is saying the most important: there are differents approach, Firebug is your friend, use the network tab to see which is happening to display these pop up. If you have luck all the information could already be in the original page. But you have also a link if the problem is security related.. With my modest experience using HtmlUnit, we need everytime to accliamate to the programming usage of the site we are digging into. Regards Alain 2014-12-18 9:46 GMT+01:00 hai <mah...@es...>: > > Hi, > > Thanks for your reply. > > Let me explain clearly. > > I have one form which contains one button. On click of that button a pop up > will open. I need to access that pop window and read it contents. > > Initially i could not get pop up window even for my local application . But > then after i have kept one more jar file htmlunit-2.15 then i could not get > the result of pop up window. My local application runs on http protocol. > > <Output> > *a NEW window opened: null* > <html> > <head> > <title>CISCO ACS Child</title> > > </head> > <form name="main_page" id="main_page"> > <body> > <input type="text" id="ip" name="ip"> > </body> > </form> > </output> > > But the application which i need to work on is runs on https protocol. > > I want to know is how to handle https pop up windows. > > <output> > *a window is CLOSED: HtmlPage* > > Thanks & Regards > > > > > > -- > View this message in context: > http://htmlunit.10904.n7.nabble.com/Dialog-Box-tp35073p35089.html > Sent from the HtmlUnit - General mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |