[clug] Automating firefox

Sam Couter sam at couter.id.au
Mon Jan 14 08:46:02 GMT 2008


Michael Cohen <scudette at gmail.com> wrote:
> I have a need in my web application to generate some pdfs from html
> pages.

If you control the web application, you can include JavaScript to do
what you want.

An alternative is to use a proxy server that injects JavaScript. See
Selenium (http://www.openqa.org/selenium/) for an example. It's
implemented in Java, but it drives browsers using JavaScript.
-- 
Sam Couter         |  mailto:sam at couter.id.au
                   |  jabber:sam at teknohaus.dyndns.org
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20080114/2e653edb/attachment.bin


More information about the linux mailing list