Real HTTP Basic Auth from a live backend: no credentials gets a 401 and a native prompt, which locators can't touch — pass credentials another way.
This interactive playground needs JavaScript enabled to render the challenges.