Ae Leung
Ae Leung

Reputation: 378

why cypress version 10 doesn't have chrome option in it

I am new to cypress. As for the latest version of cypress 10, when I run cypress open, it pop out below screen, having only two browsers option here. But I would like to use chrome to run my test.

Problem:

May I know how I can make the panel to show chrome option?

I already have had chrome installed

enter image description here

Coz I think the panel comes with no chrome is very strange, so I am not sure if it is something else problem. I also couldnt run the test after selecting Edge

enter image description here

This is my cypress config:

const { defineConfig } = require("cypress");

module.exports = defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      // implement node event listeners here
    },
  },
});

Upvotes: 0

Views: 158

Answers (1)

BlueReddington
BlueReddington

Reputation: 79

Do you have chrome installed in your machine? Cypress use the browsers that are locally installed by the user.

Upvotes: 1

Related Questions