How to run webdriver.io in headless mode
In the wdio.config file add the following:
compatibilities: [
maxInstances: 1,
browserName: "Chrome",
"goog:chromeOptions": {
args: ["--headless"],
},
]
In the wdio.config file add the following:
compatibilities: [
maxInstances: 1,
browserName: "Chrome",
"goog:chromeOptions": {
args: ["--headless"],
},
]