Protractor windows authentication

How would I set/pass windows authentication user credentials in a protractor test? I am not sure how selenium handle’s this but there must be a way for setting these values?


Update (16/02/2021)

If you are using lastest chrome and if you wanted to bypass the windows login prompt, use AuthServerWhitelist

capabilities: {
        browserName: "chrome",
        chromeOptions: {
            args: ["--auth-server-whitelist=*localhost*, *"]

Leave a Reply

Your email address will not be published. Required fields are marked *