On Tue, 2 Jan 2007, Ðarius. wrote:
I saw the WWW-Mechanize Perl module, but it doesn't support JavaScript :(
That's not good, because many web pages containing forms often do rely
on cilent-side data checking and arrangement.
[...]
IE has a nice port to Linux via Wine, and also WSH has been ported, but a
Mozilla-based solution would be more preferable (I also want to integrate
my projects with SVG, further) ;)
[...]
Any suggestion? Has anybody tried to do something like above?
I have, Mozilla::Mechanize, which is basically a port of
Win32::IE::Mechanize to Mozilla (on Linux, at least):
http://search.cpan.org/~slanning/Mozilla-Mechanize/
http://search.cpan.org/src/SLANNING/Mozilla-Mechanize-0.05/README
It even mostly works now, apparently, thanks to some auxiliary
modules written by Boris Sukholitko.
This is based on Mozilla::DOM:
http://search.cpan.org/~slanning/Mozilla-DOM/
which is in turn closely related to Gtk2::MozEmbed:
http://search.cpan.org/~tsch/Gtk2-MozEmbed/ .
The major problem I'm having right now is with gtkmozembed segfaulting:
https://rt.cpan.org/Public/Bug/Display.html?id=24035
so I can't test anything. It didn't segfault with Mozilla.
(Someone said in a private email that it might be necessary
to use run-mozilla.sh and make a symlink to the components directory.
Having got to check that out yet.)
Whenever I can resolve those issues, I'm planning to release
new versions of my modules, in particular with new examples
using the modules by Boris:
http://search.cpan.org/~bosu/Mozilla-PromptService/
http://search.cpan.org/~bosu/Mozilla-ObserverService/
http://search.cpan.org/~bosu/Mozilla-ConsoleService/
http://search.cpan.org/~bosu/Mozilla-DOM-ComputedStyle/
http://search.cpan.org/~bosu/Mozilla-Mechanize-GUITester/
http://search.cpan.org/~bosu/Mozilla-nsID/
I'd rather these were integrated into Mozilla::DOM and/or
Mozilla::Mechanize, but that's not the way Boris happened
to implement them.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding