Headless Selected but Ignored in Jobs

I have created a Job that runs 3 tests on 2 Browsers (chrome and firefox both in headless mode) and I set the driver capabilities specific to chrome because on our test environment we have self signed certs.

Here are the driver capabilities:

{
  "browserName": "chrome",
  "version": 83,
  "goog:chromeOptions": {
    "args": [
      "--ignore-ssl-errors=yes",
      "--ignore-certificate-errors",
      "--ignore-untrusted-certificate",
      "--headless"
    ]
  }
}

When I run the tests it will not run Chrome in Headless but will run FF in headless.

Something I noticed is that when I run just Chrome it will run in headless, but as soon as I do chrome and FF it will no longer run in headless.

Hi @jameson-hittle,
Adding the "browserName": "chrome" key value, will override the selected browsers in your job settings.
To run multiple browsers with specific capabilities per browser follow this article:

Otherwise simply remove the "browserName": "chrome" from your capabilities and it should work as expected.

This topic was automatically closed after 180 days. New replies are no longer allowed.