github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Is it possible to run against chrome-beta?

Open alexbjorlig opened this issue 4 years ago • 1 comments

The objective would be to detect breaking changes in futures versions of Chrome?

alexbjorlig avatar Aug 13 '21 18:08 alexbjorlig

I haven't tried this myself to be honest, but by looking at the code it should work, because it basically pushes the value provided for the browser key in the yml config file:

 if (browser) {
    cmd.push('--browser')
    // TODO should browser be quoted?
    // If it is a path, it might have spaces
    cmd.push(browser)
  }

As long as the binary is present in the CI agent environment a path to that could be provided.

sergiubcn avatar Sep 17 '21 13:09 sergiubcn

@alexbjorlig

The answer to your question

Is it possible to run against chrome-beta?

is "yes". See Cypress documentation: Browsers.

It is however your responsibility to install Google Chrome beta as the standard GitHub runner images only include a recent Google Chrome stable version as default.

MikeMcC399 avatar Nov 07 '23 08:11 MikeMcC399