I will run some UI tests but facing issues with which user account to use for authorize/authentication. Playwright can run in headless mode so would this be the same flow using a non-interactive user account a.k.a. service account? A service account can only run in headless (non-interactive mode), it cannot run in headed mode.
Steps I want to follow:
Is this do-able? Will this work?
This thread is trying to answer question "Can UI tests be run in headless mode using a service account with Playwright?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email email@example.com.