0

My web app uses windows authentication, then grants permissions based on allowed usernames in a configuration file. Is it possible to change the windows username in a Playwright test?

Tried changing the httpCredentials in the browser context. Didn't expect that to work.

  • windows auth should just set the current identity to the windows user. there shouldn't be anything stopping you from replacing that with your own custom identity. How do you get / set the identity? – Joe_DM Nov 11 '22 at 13:23

0 Answers0