2

Thanks for providing the solution with regards to the fix to popup credential (PreviousPost). I have attempted to do the same thing too on my Protractor.conf.js

const {
  Authenticator
} = require('authenticator-browser-extension');
exports.config = {
  capabilities: {
    browserName: 'chrome',
    chromeOptions: {
      extensions: [
        Authenticator.for('username', 'password').asBase64()
      ]
    }
  },
}

However, when I tried to execute my script, I am still not able to 'bypass' the basic authentication. I have used chromedriver with version 83.

Regards, Vic Lim

Edited I have attached the scrrenshot of the popup below for your reference. I have also tried to use browser.switchto().alert().authenticateas(), but the script says this is not an alert.

s

biberman
  • 5,606
  • 4
  • 11
  • 35
Vic Lim
  • 21
  • 3

0 Answers0