From: UliScherrer <uli...@gm...> - 2014-04-17 14:36:18
|
Hi Ronald, thanks for Help. I had success. I just took an anchor (does not matter which one) and changed href to setAttribute("href", "https://......../showpdf.do?requestor=Shipper&filetype=pdf"); WebResponse was now a pdf file. Uli UliScherrer wrote > Hi Ronald, > > yes, there is no form. > Live HTTP headers (Firefox add on) shows me after the click following url: > https://......../showpdf.do?requestor=Shipper&filetype=pdf > > I suppose, the following window reads a cookie to get the information > which pdf is shown. > > I tried page.getWebClient().getPage(url_as_shown_above); but without the > desired result. > Is there another way to execute this url in my pagecontext? > Or should I dig into javascript and deal with ScriptableObject? > I am not experienced enough to see the right way. > > thanks > Uli -- View this message in context: http://htmlunit.10904.n7.nabble.com/Does-not-get-file-when-InputButton-clicked-tp33583p33601.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |