Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Reloading a Firefox Page from the Command Line



Curt Sampson kirjoitti 23.2.2008 kello 9.24:
Actually, just moving my cursor into the window and typing control-R
does the "reload" part of what I need. What I'm looking for is the
"remote" part. When I'm editing page content or CSS or whatever, I've
got a special save command in my editor that finds the install script
for the part of the website that I'm working on and runs it. I'd like to
add an option to that script that will also tell Firefox to reload the
page it's currently displaying so that I can see my changes instantly
when I save, without having to move the cursor and type control-R every
time. When tweaking CSS, for example, I might be making making a change
every couple of seconds, and the move-and-control-R-and-move-back
routine can start to eat a significant percentage of my time.

Maybe the Selenium test suite will provide what you want. We haven't used it the way you are describing what you want to do, but it's probably worth looking into.

 http://selenium-rc.openqa.org/

It's a bit involved, but fully scriptable, also in ruby.


Cheers,

--
Henri



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links