Perl automation of Mozilla

From: RJB (rbell01824_at_aol.com)
Date: 03/24/04


Date: 24 Mar 2004 14:32:41 -0800

I'm moving an application from XP to Linux.

The XP version of the application uses com automation to instantiate
an instance of IE6 and then drive it to various web sites. These are
generally fairly sophisticated with content driven by scripts, involve
frames, etc. I need to measure the time between the start of
navigation and its completion, reference the DOM to extract certain
data from the page, possibly save the page (not just the HTML, but
exactly what you would get by manually doing a SAVEAS), etc. Because
of the sophistication of the pages LWP is not a viable answer (no
support to scripts or frames). Likewise wget. It appears that I'll
need to automate a real browser (Mozilla?).

I'd like to do this using Perl and Mozilla but am unsure how to
approach the problem. Is it possible? What is the general approach?
Are there any examples? I'm generally aware of PLXPCOMP and XPCOMP
but unclear of how to use them to attack this task.

Thanks for any clues.

R



Relevant Pages

  • Perl automation of Mozilla
    ... The XP version of the application uses com automation to instantiate ... support to scripts or frames as I understand). ... I'd like to do this using Perl and Mozilla but am unsure how to ...
    (comp.lang.perl.misc)
  • cPAMIE18 released! - Python Automation module for Internet Explorer
    ... PAMIE stands for Python Automation module for Internet Explorer. ... Optional tools for writing scripts: ...
    (comp.lang.python.announce)
  • Re: API troulble
    ... you could use CLSIDFromProgID and create your objects from Automation ... > My test application just sees the interfaces, so there needs to be a method ... >> CoCreateInstance to instantiate your COM objects, ... >>> 'automation' and hey presto I get a new ITeam interface. ...
    (microsoft.public.vc.mfc)
  • Types of code changes that made automation script to break ....
    ... I am collecting the experiences of various Automation engineers ... "Design your scripts for maintainability - make sure that scripts ... what is main worry for automation leads and managers. ...
    (comp.software.testing)
  • Re: Owner Draw of ComboBox Text & Items
    ... only that the result is a component-like unit that needs to be ... IMHO it works better if you don't need to modify frames individually ... This functionality is encapsulated in a TObject descendant ... objects to the "functionality object" when or immediately after I instantiate ...
    (comp.lang.pascal.delphi.misc)