Both "Show browser" or "Run in Debug Mode" are not working
See original GitHub issueThank you for the great VSCode extension 😃 However, it doesn’t work in both “Show browser” or “Run in Debug Mode”.
https://user-images.githubusercontent.com/9500018/198824236-75862bc3-38ce-45e3-ad3f-10bea9811201.mp4
On the other hand, npx playwright test --debug
works fine.
Best regards.
My environment
- Windows 10
- VSCode: 1.72.2
- Playwright Test for VSCode: v0.2.13
$ npx playwright --version
Version 1.27.1
Error message
テストを実行しようとしてエラーが発生しました: TypeError: Cannot read properties of undefined (reading 'setReuseBrowser')
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Both "Show browser" or "Run in Debug Mode" are not working
Both "Show browser" or "Run in Debug Mode" are not working #18424 ... On the other hand, npx playwright test --debug works fine....
Read more >How to fix browser not opening in debug mode?
To do this, right click on the relevant project in your solution and click Properties. In the menu on the left click Debug,...
Read more >Blazor - Changes in Debug Mode Not Loading in Browser
When I make changes to my Razor component in debug mode, running app in Browser doesn't refresh. Tried hitting the refresh button many...
Read more >Application running in debug mode in the test environment not ...
The only workaround is to use an external browser. You can set an external browser by going to Windows > Preferences > Internet...
Read more >Debug Browser Apps using Visual Studio Code
The simplest way to debug a webpage is through the Debug: Open Link command found in the Command Palette (Ctrl+Shift+P). When you run...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
However, I created a new project (https://github.com/microsoft/playwright/issues/18424#issue-1428319591), then it worked! Many thanks! 😄
By the way, It downloaded a new Chromium. Did I download the one that contains a bug before?
I still failed to repro; assigning to Yury who has access to a windows machine. I hope he’ll be able to repro; otherwise, we won’t be able to do much!