-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
playwright component testing control url #33755
Comments
I'm trying to use Playwright component testing, but I need to use a remote browser. Are there any ways to use component testing with a remote browser and HTTP over SSH (like ngrok)? |
The following should work for you: #26482 I'm not sure I follow what "and HTTP over SSH (like ngrok)" is. |
Thank you very much for your response. I will try to explain my use case. I need to run Playwright tests, but I want to use the browsers on my computer to do this, connecting to the browsers similarly to a Selenium Grid setup. When running component tests, I observe that the browser opens the link http://localhost:3100. However, because the browser is not on my local device, I need to establish a tunnel (such as using https://ngrok.com/docs/http/). So, I need to first set up a tunnel from http://localhost:3100 to http://mytunnelip so the remote browser can open my page. Therefore, I need to:
The address http://mytunnelip is just an example. |
But is very strange, becous i can not rewrite base url. I have fixture for rewrite base url, but in ct browser always try open http://localhost:8001/ Error message:
How can i rewrite base url before start component testing? |
Any idea, why a can not use fixture for rewrite baseUrl? |
Please do not submit this issue.
The text was updated successfully, but these errors were encountered: