Is it possible to do automated browser testing with Selenium/WebdriverIO using Chrome in headless mode?
Supposedly Chrome --headless is a thing now, but I can't get their example working. I was hoping Selenium had an option for this?
I'm initializing WebdriverIO like so:
const WebdriverIO = require('webdriverio');
let driver = WebdriverIO.remote({
desiredCapabilities: {
browserName: browser, // "chrome" or "firefox"
},
});
And I'm starting Selenium using selenium-standalone:
selenium-standalone start > /dev/null 2>&1