From: Ahmed A. <asa...@ya...> - 2015-06-11 05:59:22
|
Hi Teryl, As hinted in http://htmlunit.sourceforge.net/faq.html#HowToModifyRequestOrResponse You can create the response from local file, instead of calling super.getResponse(request); Ahmed From: Teryl Taylor <ter...@gm...> To: htm...@li... Sent: Thursday, June 11, 2015 2:31 AM Subject: [Htmlunit-user] Loading javascript before Page Hi everyone, Is it possible to load a script into the javascript environment before loading a page? I'm using HTMLUnit in an environment where I can't always go out and grab certain scripts, so I'd like to preload common scripts such as jQuery so the environment is there when I load a page. Is this possible? Cheers, Teryl |