running a browser from the command line...

bruce bedouglas at earthlink.net
Tue Jun 8 23:16:07 UTC 2004


i've already been using the perl mods libwww/mechanize...

i was curious if it's possible to drive a full functioning browser from the
command line...

wget/curl.. aren't better than libwww/mechanize/etc...

-bruce


-----Original Message-----
From: Jason Dixon [mailto:jason at dixongroup.net]
Sent: Tuesday, June 08, 2004 4:05 PM
To: General Red Hat Linux discussion list; bedouglas at earthlink.net
Subject: Re: running a browser from the command line...


On Jun 8, 2004, at 6:54 PM, bruce wrote:

> i'm trying to determine if it's possible/easy to run a browser from the
> command line.. and pipe the output to a file. something like:
>
> \tmp\browser "www.foo.com" >outputfile.tmp
>
> i'm looking for a browser that i might be able to use in this
> manner...  i
> don't need to render the page/images... just the underlying ability to
> get
> the results back from a site...

Use wget or curl.

--
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net






More information about the redhat-list mailing list