When executing locally, how do I define capabilities in Playwright projects?

When executing locally, how do I define capabilities in Playwright projects?

Hi Rhian!

While executing your Playwright projects locally, you can define the capabilities as shown below:

{
name: "chrome",
use: {
browserName: "chromium",
channel: "chrome",
},
},

OR

{
name: "safari",
use: {
browserName: "webkit",
viewport: { width: 1200, height: 750 },
},