Re: [links] Scripting Links

Karel Kulhavy <[email protected]> Sat, 11 Aug 2007 19:57:13 +0200
Newsgroups gmane.comp.web.links.list
Message-ID <[email protected]>
On Fri, Aug 10, 2007 at 07:55:16PM -0700, Grant Hundertmark wrote:
> I am attempting the write a script to test netlogin web authentication using links.  There are many clunky gui test tools to do this, but I hoped that a cli based browser with javascript might be a better solution.
> 
> Process:
> 1) attempt to access a web page and you get redirected to the login page. (I
> need to verify the page content).  Would links -dump http:/www.bob.com work?

> 2) when a login page is reached a javascript login screen appears.  I need to
> be able to enter the user name and password in the auth window.  Then verify
> the original attempted web url is reached.

> 
> I do not see any documentation of cli commands such as links (-dump) on the
> Twibright page.  Is there documentation on all available args?

It's in man links. If you don't want to install links just to see the manpage,
then download the tarball file and look at it using "man ./links.1" (linux)
or "man -M . 1 links" (OpenBSD).

CL<
> 
> I noticed that some other flavors of links support browser scripting.  Is
> this what I am looking for.  Of course they do not support java script... so
> it doesn't matter.

> 
> Thank you for your time and patience.
> Grant
> 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search 
> that gives answers, not web links. 
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> _______________________________________________
> links-list mailing list
> [email protected]
> http://linuxfromscratch.org/mailman/listinfo/links-list
_______________________________________________
links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list