Automate web login for Wi-Fi hotspots

Many Wi-Fi hotspots these days have a "web login", especially free ones. You know, the ones that redirect any HTTP request to their login form. Windows usually displays the "Additional login information may be required" notification for these.

Is there a way that I can automate the process of such logins, ie. save my username and password (for a given hotspot)? Ideally, I want this to happen without even opening my usual browser, although if the process itself automatically opens and closes an Internet Explorer window to perform the login that might be OK.


I would create a curl command which executes on system boot. When the commands executes it will send your authentication details and log you in.

This can be achieved with Google chromes "copy as curl" feature. Copy the get request as a curl command from your web browser after you've clicked the login button into a bash script.

This assume authentication by mac address, however if its by cookie you could save the returned cookie in the appropriate browsers cookie folder.

enter image description here


Other than scripting as already suggested, there don't appear to be any Windows applications that support this. There are several Android/iOS apps however.