note
LanX
You're loading a new page, which destroys your Javascript.<P>
Possible advices:<P>
a) use a non JS solution, like [mod://WWW::Mechanize] or [google://Selenium].<P>
b) use an automation addon for Firefox like [https://addons.mozilla.org/en-us/firefox/addon/imacros-for-firefox/|iMacros].<P>
c) put your approach in a frameset, one frame holding the JS the other the page to load. (but all parts from the same domain!)<P>
UPDATE:<P>
d) it <i>may be</i> that you can load a HTML page into the sidebar which starts your testscript on load. (UNTESTED)<P>
e) if it's only about loading pages into Firefox you can also write a simple perl script using <c>firefox -remote</c> (IIRC linux only) or [google://mozrepl] for communication.<P>
f) last but not least [doc://WWW::Mechanize::Firefox]<P>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-708738">
<p>Cheers Rolf
</div></div>
900187
900187