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
66.15k stars 3.61k forks source link

[BUG] Debug mode with Playwright runner does not work for remote browser connections #26814

Closed ankur-lt closed 5 months ago

ankur-lt commented 1 year ago

System info

Source code

Link to the GitHub repository with the repro Link to the Playwright test suite: https://github.com/LambdaTest/playwright-sample/tree/main/playwright-test-js The Playwright sample provided here connects to the LambdaTest cloud which runs the Playwright server.

Steps

Rather than using the Playwright library function of browserType.connect(), I also tried connecting to the remote browser via the Playwright runner itself, via connectOptions.wsEndpoint in the project configuration, but the debug mode was not working.

Expected The debug mode should work with remote browsers too, to debug the tests on any different OS and browser version.

Actual The debug mode works only while executing tests locally.

pavelfeldman commented 5 months ago

Why was this issue closed?

Thank you for your contribution to our project. This issue has been closed due to its limited upvotes and recent activity, and insufficient feedback for us to effectively act upon. Our priority is to focus on bugs that reflect higher user engagement and have actionable feedback, to ensure our bug database stays manageable.

Should you feel this closure was in error, please create a new issue and reference this one. We're open to revisiting it given increased support or additional clarity. Your understanding and cooperation are greatly appreciated.