View Full Version : 2 Simple cURL questions

12-28-2006, 09:39 PM
I have 2 questions about cURL...

1. How do I make cURL click a link on a certan page
2. How do I make it exictute a javascript: link on a certan page. (probally not possible)

12-29-2006, 02:10 AM
can someone please help me? it is really simple.

12-29-2006, 01:04 PM
what do you mean by 'click a link'? cURL just sends HTTP requests to URLs, it has no concept of 'clicking', and certainly can't understand javascript.

12-29-2006, 10:24 PM
well... one of the links on the page i'd like for it to exicute is a javascript: url.

12-30-2006, 12:31 AM
cURL won't do what you want then.

What exactly are you trying to do?
Selenium might help you (http://openqa.org) might be able to do what you want...