From the course: Learning Playwright

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Exploring the Playwright UI Mode

Exploring the Playwright UI Mode - Microsoft Playwright Tutorial

From the course: Learning Playwright

Exploring the Playwright UI Mode

- [Instructor] For those times when you want to create and update Playwright test on your local machine and get immediate feedback anytime a test is changed, Playwright UI mode is the tool to do it. To start playwright UI mode, we can use the MPM run script that we created from the previous videos, "npm run rest:ui". This is going to run the NPX Playwright test UI command, and you can see it is loaded. On the left hand side, you'll notice a similar interface to VS Code in order to run your test. You'll also notice that this first tag is one of the tags we added, is available here. I can even click on it and filter down by all those tags, which is really useful when you have a larger test suite. You can also run all the tests here or use F5, the keyboard shortcut to do that. I'm going to go ahead and run these. So all the tests ran, everything passed. These did run in headless mode, but you can see on the right hand side when I go look at some of the details, that we actually do have a…

Contents