← Back to Discord Forum

Help with Debugging

Hi all, I'm a beginner at Playwright (and automation in general), so this might be a stupid question, but when debugging with playwright's command ($env:pwdebug=1), how do I debug just one specific test? If I run it as described in documentation, it will just run all my tests from the beginning, which can take a while. Thanks!

This thread is trying to answer question "How can I debug just one specific test using Playwright's command?"

1 reply

You can add .only to the test that you want to debug Or you can pass -g "test name" as param from the comandline

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.