in reply to Re: Re: Re: onClick
in thread onClick

Maybe this page can be a good example..

http://www.atomica.com/solutions_products_web.html

So is there any chance to get results without runnig
web browser....?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: onClick
by Corion (Patriarch) on Feb 27, 2002 at 07:39 UTC

    I've followed that link, and it reduces to the first interpretation of my list. The JavaScript simply submits the form request and pops it up in a new window. This is easily simulated with LWP, you just have to get the parameters just as the JavaScript code sets them up. Consider setting up a local proxy server through which you connect with your browser - that way you will see all communication between your browser and the server, and you can replay that communication using LWP.

    I still wonder why you do want to automate querying a FAQ - simply directing users to that page would help them as well.

    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web