How can I enter in security credentials to a website when running against Safari browser? #3059
Unanswered
Golshy
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
In the previous version of NightWatch, I would run against Chrome and am testing against a website that requires security credentials to be added in. I was able to get around this by running an export CREDENTIALS="https://username:password@" and adding this on to the rest of the URL which was stored in a login_url var.
Issue

While I am able to do the same thing in NightWatch v2 against Chrome, when running my scripts against Safari, despite entering in the URL with the security credentials already included, I am still met with an additional prompt to enter in the credentials.
I'm looking for help on how to enter the credentials with my scripts. Could anyone please advise on how I can resolve this issue to continue running tests in the Safari browser?
Beta Was this translation helpful? Give feedback.
All reactions