Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions source/guides/guides/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ cypress run [options]

Option | Description
------ | ---------
`--browser`, `-b` | {% urlHash "Specify a different browser to run tests in" cypress-run-browser-lt-browser-name-or-path-gt %}
`--browser`, `-b` | {% urlHash "Run Cypress in the browser with the given name. If a filesystem path is supplied, Cypress will attempt to use the browser at that path." cypress-run-browser-lt-browser-name-or-path-gt %}
`--ci-build-id` | {% urlHash "Specify a unique identifier for a run to enable grouping or parallelization." cypress-run-ci-build-id-lt-id-gt %}
`--config`, `-c` | {% urlHash "Specify configuration" cypress-run-config-lt-config-gt %}
`--env`, `-e` | {% urlHash "Specify environment variables" cypress-run-env-lt-env-gt %}
Expand All @@ -102,7 +102,7 @@ Option | Description
cypress run --browser chrome
```

The "browser" argument can be set to "chrome", "canary", "chromium", or "electron" to launch a browser detected on your system. Cypress will attempt to automatically find the installed browser for you.
The "browser" argument can be set to "chrome", "canary", "chromium", or "electron" to launch a browser detected on your system. Cypress will attempt to automatically find the installed browser for you.

You can also choose a browser by supplying a path:

Expand Down Expand Up @@ -302,7 +302,7 @@ Options passed to `cypress open` will automatically be applied to the project yo

Option | Description
------ | ---------
`--browser`, `-b` | {% urlHash "Specify a different browser to run tests in" cypress-open-browser-lt-browser-path-gt %}
`--browser`, `-b` | {% urlHash "Path to a custom browser to be added to the list of available browsers in Cypress" cypress-open-browser-lt-browser-path-gt %}
`--config`, `-c` | {% urlHash "Specify configuration" cypress-open-config-lt-config-gt %}
`--detached`, `-d` | Open Cypress in detached mode
`--env`, `-e` | {% urlHash "Specify environment variables" cypress-open-env-lt-env-gt %}
Expand All @@ -321,6 +321,8 @@ The "browser" option allows you to specify the path to a custom browser to use w
cypress open --browser /usr/bin/chromium
```

If found, the specified browser will be added to the list of available browsers in the Cypress Test Runner.

Currently, only browsers in the Chrome family are supported.

{% url "Having trouble launching a browser? Check out the debugging guide" debugging#Launching-browsers %}
Expand Down