[clug] Automating firefox
scudette at gmail.com
Mon Jan 14 09:41:21 GMT 2008
Sam how would this work? As far as I can tell in js you can issue a
window.print() which brings up the print dialog but you can not
actually submit it due to the js security model. Neither can you
select the output filename. Am i far off the mark?
So far i have been playing with the many suggestions on this thread. I
found Xnee which seems sort of able to do what I want except that
there is no way to tell it which windows to target. Most solutions
seem to be flying blind - injecting keystrokes with very little
feedback about which window they are using. Maybe I will patch xnee to
address keystrokes at named windows which would make it more robust
(in case firefox lost focus for some reason).
I think its definitely doable though,
2008/1/14 Sam Couter <sam at couter.id.au>:
> Michael Cohen <scudette at gmail.com> wrote:
> > I have a need in my web application to generate some pdfs from html
> > pages.
> what you want.
> Selenium (http://www.openqa.org/selenium/) for an example. It's
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> -----END PGP SIGNATURE-----
> linux mailing list
> linux at lists.samba.org
More information about the linux