# OpenQA.Selenium.WebDriverException : unknown error: Chrome failed to start: crashed

**URL:** <https://travis-ci.community/t/openqa-selenium-webdriverexception-unknown-error-chrome-failed-to-start-crashed/12671>\
**Category:** C#\
**Tags:** travis-build\
**Created:** [February 10, 2022, 3:07pm UTC](https://travis-ci.community/t/openqa-selenium-webdriverexception-unknown-error-chrome-failed-to-start-crashed/12671 "2022-02-10T15:07:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ponselvamsakthivel](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/ponselvamsakthivel/32/7673_2.png) [@ponselvamsakthivel](https://travis-ci.community/u/ponselvamsakthivel)\
**Post date:** [February 10, 2022, 3:07pm UTC](https://travis-ci.community/t/openqa-selenium-webdriverexception-unknown-error-chrome-failed-to-start-crashed/12671/1 "2022-02-10T15:07:16Z")

</div>

Hi,

I am trying to do the dotnet-selenium test automation. Here, i can do the build with Msbuild. but while i am trying to run the test using mono. i am getting the error. please find the pic below,

 ![image](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/6/6f9910dedc9a4b3a72d7464c919cd2880378bbed.png)

Google chrome is not finding by the Travis.

Please find the job config below,

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/github/Crown-Commercial-Service/ccs-conclave-ui-automation-tests/jobs/559168470#L2192)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

Need to run the test cases on remote machine. Could you please help me out?

Travis.yml:

```auto
dist: xenial
sudo: required
language: csharp
solution: CCS.UITests.sln
services:
  - xvfb
mono:
  - latest

addons:
  chrome: stable
before_script:
  - export DISPLAY=:99.0
  #- sh -e /etc/init.d/xvfb start
  - sleep 3 # give xvfb some time to start

install:
  - nuget restore CCS.UITests.sln
  - nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner

script:
  - msbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.6.1 ./CCS.UITests.MainTests/CCS.UITests.MainTests.csproj
  - mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./CCS.UITests.MainTests/bin/Release/CCS.UITests.MainTests.dll

```

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [February 15, 2022, 11:32am UTC](https://travis-ci.community/t/openqa-selenium-webdriverexception-unknown-error-chrome-failed-to-start-crashed/12671/2 "2022-02-15T11:32:24Z")

</div>

Are you using `headless`, `no-sandbox` and `disable-dev-shm-usage`? Try adding this to your your `.travis.yml` in the beginning:

```nohighlight
conditions: v1

git:
  depth: 99999

dist: focal

addons:
  apt:
    update: true
  chrome: stable

```
