Can OpenTest facilitate automated testing on a headless browser?

Is it feasible to run OpenTest scripts in a headless browser environment? I have configured my actor file as shown below, but it defaults to launching a regular browser. Is this configuration sufficient to utilize the latest version of Chrome in headless mode?

selenium:
    # seleniumServerUrl: http://127.0.0.1:9515
    desiredCapabilities:
        browserName: chrome
        chromeOptions:
            args: [ --headless ]
    chromeDriverPath: C:/opentest/drivers/chromedriver.exe

Thank you!

Hey CharlieLion22,

Yes, OpenTest can run scripts in a headless browser. Your configuration looks almost spot on. Make sure your chromeOptions are correctly set up, as in your example.

selenium: desiredCapabilities: browserName: chrome chromeOptions: args: [ --headless, --no-sandbox, --disable-gpu ] chromeDriverPath: C:/opentest/drivers/chromedriver.exe

The extra --no-sandbox and --disable-gpu flags can help resolve some environment-specific issues in headless mode. Make sure you're also running ChromeDriver and Chrome versions that support headless mode.