microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
67.35k stars 3.71k forks source link

[Feature]: How can I launch the browser on Mac OS and use Live Debugging feature when I develop the project by Remote SSH #33825

Open a1245582339 opened 3 days ago

a1245582339 commented 3 days ago

🚀 Feature Request

Due to some company policies, I have to use VSCode Remote SSH to develop the front-end project. However, the target server is a Linux environment and does not provide a graphical interface.

I want to use powerful features such as Live Debugging, UI Mode, and Record scripts in this development mode. Is there any way to launch the browser on my local computer and use these features while operating in VSCode?

Looking forward to your reply.

Example

No response

Motivation

As Feature Request.

Skn0tt commented 21 hours ago

Hi there! Running tests in Headed mode won't work via SSH, so Live Debugging and script recording won't be possible. You can use UI mode though, see https://playwright.dev/docs/test-ui-mode#docker--github-codespaces for how. Let me know if that helps!