-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] TLS support for playwright UI running on port/host #23659
Comments
There is no good place for us to get a valid certificate when serving for your local machine. There are two options for you:
|
The best solution IMO would be for playwright to add a cert option where we can provide a valid cert for playwright to use in its server. I would rather go this route then having to setup a completely separate proxy with a valid cert in place, or instruct each one of my developers on how to port forward. This is how vite handles https https://vitejs.dev/config/server-options.html#server-https. |
I consider this to be a major bug. When I start my playwright instance with |
We are experiencing the same problem when using |
My company develops everything off a remote workstation and with the playwright being able to run on a port/host as of the last release this enables us to not have to vnc to the workstation to interact with the UI.
I was trying to access the UI from home via a VPN, but without TLS running the UI won't work due to the UI using a service worker. Service workers only function with a valid cert in place or on localhost. Currently my options are to port forward to my localhost on my home computer, or put the playwright server behind an nginx server that handles the TLS connection.
Both the options are not ideal and I would like to see playwright handle the TLS since its using service workers.
The text was updated successfully, but these errors were encountered: