|
I am trying to automate a login to a site which uses Javascript popups for its login. Apparently I cannot do so using cURL. Is this really the case? Can cURL communicate with Javascript? Or is not doable? Thanks. |
|
The site login will most likely still use HTTP POST to send the user credentials to the server even if the entry method is a Javascript popup. My suggestion would be to either use a packet sniffer like Wireshark or reverse engineer the script to determine the login server and parameters sent so that you could setup cURL to login. From there, you could parse the body or get the cookies from the response to check if the login was successful. |
|
Why not use Selenium Remote Control? You can automate it using your favorite language: Java, Ruby, Python, and possibly others. |