From the course: Learning Playwright
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Playwright config browsers and projects
From the course: Learning Playwright
Playwright config browsers and projects
- [Instructor] It's time to journey deeper into the Playwright config as we look at how you can configure the browsers and project settings of the config. So let's jump in. As we pull up our existing config, you'll notice in the projects section, you have different browsers. This is very important to the Playwright test runner. You can think of these projects as different projects that will run all the tests for each different project. So by default, the playwright init command, which we ran in lesson 0101, created the default settings with Chrome Desktop browser with Firefox Desktop, with Desktop Safari. The original playwright init also provides you with mobile viewports, but these are commented out. By default, you could uncomment these and run against all sorts of different sized browsers as well. This is very useful if you want to do cross-browser testing. That means run your existing tests across different browsers to validate that websites work against all these different…
Contents
- Installing Playwright4m 44s
- Updating the Playwright config7m 23s
- (Locked)Playwright config browsers and projects6m 32s
- (Locked)Exploring the test runner command line interface6m 43s
- (Locked)Overview of package.json5m 56s
- (Locked)Exploring the VS Code extension7m 21s
- (Locked)Exploring the Playwright UI Mode5m 6s