Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    The only way I know of is to pass it through the URL (e.g. user:[email protected]) if the site uses basic auth, but this is disabled by default in newer versions of IE/edge. Beyond that I think you're in saved password / add-on territory
    – BrianC
    Commented Mar 16, 2016 at 0:05
  • If you can get your batch file to send keystrokes I don't see why not. Depending on how the page is setup I would imagine you could open the page, send Tab until the cursor is in the username box, send the username, send Tab again, send the password, send Enter.
    – root
    Commented Mar 16, 2016 at 16:18
  • You may be able to use curl.exe, which allows certain fields to be set. Otherwise, there is the Selenium add-on for Firefox, but you won't easily be able to control this from a batch file.
    – AFH
    Commented Mar 16, 2016 at 18:53
  • @BrianC, that is no longer supported.
    – zed
    Commented Mar 17, 2016 at 14:09
  • @root, any example on how to do that?
    – zed
    Commented Mar 17, 2016 at 14:11