How to handle basic authentication with protractor?

前端 未结 7 1079
长情又很酷
长情又很酷 2020-12-25 13:08

I\'m trying protractor to write a few tests in a non angular application. I have to login in a page trough basic authentication in google chrome, but i have no idea how.

相关标签:
7条回答
  • 2020-12-25 14:10

    If you're reading this in 2019, with Angular 7/8, consider this:

    https://www.npmjs.com/package/authenticator-browser-extension

    I find it much easier than the solutions suggested above.

    0 讨论(0)
提交回复
热议问题