Command line browser with Javascript handling capability

Hi,

I have a query. Do we have any command line browser utility in linux which can fulfill the following requirement:

  1. Handle pages which can have javascripts
  2. Can use pre-recorded user inputs (maybe stored in some input files) for automated navigation/task.

I had seen such an utility earlier but the major drawback was its inability to handle javascript. Not sure if Firefox can provide such a functionality.

Thanks,
Animesh

Try imacros for firefox

The commandline browser links has some javascript capability.