I need to know how to script Firefox

I need to automate something like this:
1) Open an URL
2) Wait until the page is fully loaded
3) Save COMPLETE page as... (I can provide a name).
I saw https://developer.mozilla.org/en/Command_Line_Options but I can't find an option to invoke the command "save page as... (in mode Web page complete)". So I can have all css, js, xml and related files needed to display the page.
I know Python that I could use it if I find a way to "talk" to Firefox. The webbrowser module is not help here since it doesn't allow to save a page: http://docs.python.org/library/webbrowser.html
I am openned to any kind of solution.

I think you can do this in Firefox 8 with the opacity css property. See the example at https://developer.mozilla.org/en/CSS/opacity<br>
I have tried this on a simple image with a classname of "opacity". For a nice fade in/out effect you can add a transition with 4 extra lines of css.<br>
<code>
img.opacity {
opacity: 0.4;
-moz-transition-property: opacity;
-moz-transition-duration: 1s; }
img.opacity:hover {
opacity: 1.0;
-moz-transition-property: opacity;
-moz-transition-duration: 1s; }
</code>

Similar Messages

Maybe you are looking for

  • How do I import a file that is on the desktop to iMovie?

    How do I import a file that is on the desktop to iMovie? I had some 8 mm film put onto DVD by yesdvd and now want to import the 3 hours of video into iMovie to edit and create a short story. I have created a dmg file on my desktop from the DVD but am

  • Connection slows down

    When I do a speedtest on my Macbook I can get around 10 mbs d/l. Comcast. If I go online for some time and stream some video the speed with drop to around 1 mbs. I have to turn off/on the wifi and it reconnects and is back up to around 10 mbs. Any th

  • .mbox file in trash

    Hello can anyone help. I have a problem emptying my trash. I accidentally deleted an .mbox folder to the trash and now I can't remove it, the trash won't empty and reads 'The operation can't be completed because an unexpected error occurred (error co

  • ABAP - Logic for finding out the active employee

    Hi, I am trying to write the program where i need to set the flag "YES" to active employee for the particular time period for the particular position. For example: Row     Employee     DateTo     DateFrom          Position     FLAG 1     1     1.1.20

  • Explicit History Code Plug-in for Adobe Products?

    Hello, my name is Matthew Reeves, a graduate student at the University of Utah School of Architecture in Salt Lake City, UT. I hope you are doing well this summer. I am currently completing my final semester of architecture school, and have been lear