Populating javascript / browser popup credential request programatically

I’m trying to programmatically access content behind a web app, that requests credentials via a popup.

Using C#’s HttpClient class, is there a way to request a website, get the credential request, populate the credentials, and pass the second request?

I can’t get page source on the password popup that shows up. I’m wondering if there isn’t really any Javascript for this prompt per se and it’s some kind of lower level browser funcationality.

enter image description here

68 thoughts on “Populating javascript / browser popup credential request programatically”

Leave a Comment