Are there bindings for layout engines like Gecko or WebKit for Perl? I found Gtk2-Webkit on CPAN but I would like to know if there are other options.
My idea is to use one of those engines to create thumbnails of web pages from a Perl script.
I haven't tried it myself, but the documentation for WWW::Mechanize::FireFox
looks pretty impressive.
Update:
Tried it now. This rocks. You can indeed remote-control Firefox whatever way you want and create screen-shots easily.
XUL::Gui allows you to create GUI applications using Firefox. I am not sure if this corresponds to your needs, but it would be an interesting module to examine.
Update: XUL::Gui
indeed is an interesting module to examine, but I did not realize how far WWW::Mechanize::Firefox
had come.
Also Gtk2::MozEmbed
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With