I'm currently opening a local url from batch command (.bat file) like this:
@echo off
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE http://some_local_address:88
This is working fine.
The first thing that this site does is to ask for a username and password in a popup window.
Is it possible to pass this information (or at least username) from the .bat file itself, so it is auto-completed in the emerging login window?
(Note that I'm aware you can complete username and password the first time, and "remember credentials", I just want to know if this is possible to pass from command line and how).
Tab
until the cursor is in the username box, send the username, sendTab
again, send the password, sendEnter
.curl.exe
, which allows certain fields to be set. Otherwise, there is theSelenium
add-on for Firefox, but you won't easily be able to control this from a batch file.