Skip to content

Commit

Permalink
document --browser canary breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Feb 5, 2020
1 parent a6c92cd commit 648a08e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions source/guides/references/migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,26 @@ on('browser:before:launch', (browser, options) => {
})
```

## Launching Chrome Canary with `--browser`

Before 4.0, `cypress run --browser canary` would run tests in Chrome Canary.

Now, you must pass `--browser chrome:canary` to select Chrome Canary.

See the {% url "docs for `cypress run --browser`" command-line#cypress-run-browser-lt-browser-name-or-path-gt %} for more information.

{% badge danger Before %} Before Cypress 4.0

```shell
cypress run --browser canary
```

{% badge success After %} In Cypress 4.0+

```shell
cypress run --browser chrome:canary
```

## Chromium-based browser `family`

We updated the {% url "Cypress browser objects" browser-launch-api %} of all Chromium-based browsers, including Electron, to have `chromium` set as their `family` field.
Expand Down

0 comments on commit 648a08e

Please sign in to comment.