Skip to content
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

[Question]: how to open inspector? #1920

Closed
coader opened this issue Jan 9, 2022 · 2 comments
Closed

[Question]: how to open inspector? #1920

coader opened this issue Jan 9, 2022 · 2 comments
Labels

Comments

@coader
Copy link

coader commented Jan 9, 2022

Your question

only run script in vscode?

@coader
Copy link
Author

coader commented Jan 9, 2022

https://playwright.dev/dotnet/docs/inspector

those sample code is not use c#, only vscode+node.js can show inspector?

@mxschmitt
Copy link
Member

The example image does only show Node.js, but the codegen and debugging functionality is also available in .NET (also Java and Python).

You can open it via await page.PauseAsync(); or set the PWDEBUG environment variable.

Relates microsoft/playwright.dev#288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants