How can I define capabilities in Playwright project?

How can I define capabilities in Playwright project?

Hi Rhian!

You can define the capabilities in your Playwright project in “playwright.config.js” file as shown below -

{
name: 'chrome:latest:MacOS Catalina@lambdatest',
use: {
viewport: { width: 1920, height: 1080 }
}
},