Thursday, October 6, 2022

#1 2005-10-13 03:14:24 pm

From:: Malasaña, Madrid
Registered: 2002-11-20
Posts: 2014

How can I fill and submit a form in a web browser?

The best approach is the command-line utility curl. Using this tool you can submit GET and POST data easilly.


--> submit POST data
set remoteApp to "[url][/url]"
set URLEncodedVars to "var1=jumbo&var2=blank%20space"
do shell script "curl -d " & URLEncodedVars & space & remoteApp

--> submit GET data
do shell script "curl [url=]"[/url]

You can also open the related web page in your favorite browser (your favorite browser is Safari, Internet Explorer or Omniweb) and use its built-in command to execute javascript code, which will fill and submit the form.

If you don't know how-to do it, just ask at our BBS!



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)