Can I pass capabilities with Playwright?
Hi Miro,
You can refer to the sample code snippet below or you can use our desired capability generator:
const capability = {
"browserName": "Chrome",
"browserVersion": "105.0",
"LT:Options": {
"video": true,
"platform": "Windows 10",
"tunnel": true,
"console": true
}
}
How can I do the same in Playwright with java.
I need to pass capability “se:downloadsEnabled” =true
Hello Rohit, the capability should be passed in Playwright.congif file in json format.