Password protection programmatic access to deploy preview

Need help with access to protected via password, deploy preview.

We want to use Lighthouse audit for checking accessibly of the site hosted on Netlify. But we have a problem with access to deploy preview because it protected via password. Maybe somebody knows some way to access the page within headers (Bearer or Basic-Auth)?

If you use the Basic Auth, you should absolutely be able to use url’s like https://username:password@sitename.com/path . Does that not work for you?

What username does Netlify set? All I put into Visitor Access Password is a password, I have no idea which username it put there

Basic Auth is different from site-wide password. The former is set by you - including the username. The latter, you need to only specify the password, as we only ask for a password to login (no username needed).