1

Using command line in linux, how can i call a webpage and get its content simulating a chrome or firefox browser. I also need for the browser to be javascript capable so it outputs the exact final html.

Thanks.

keepwalking
  • 2,644
  • 6
  • 28
  • 63
  • This question might point you in the right direction: http://stackoverflow.com/questions/2073481/headless-scriptable-firefox-webkit-on-linux – Christian May 29 '12 at 08:16
  • To get a Webpage via Commandline you can use `curl` and set the UAS accordingly. – Christoph May 29 '12 at 09:29

1 Answers1

2

After some search i will be using phantomjs, http://phantomjs.org/

keepwalking
  • 2,644
  • 6
  • 28
  • 63