Cypress: Support connection to remote browser

Created on 17 Dec 2019  路  4Comments  路  Source: cypress-io/cypress

It is a proposal.

Current behavior:

Currently, all browsers for Cypress runner should be installed on the same host (or same container).
It makes it hard to have custom setups in complex projects with a lot of services connected via Docker.

Desired behavior:

Support possibility to connect to remote Chrome browser via WS, running locally or in the container.

For example, when using e2e testing with Jest + Puppeteer setup, I can use a separate Chrome container and just set a remote chrome address in config.

connect: {
    browserURL: 'http://127.0.0.1:9222'
}

Steps to reproduce: (app code and test code)

There is no such option yet.

Versions

Cypress 3.8.0

chrome proposal 馃挕 feature

Most helpful comment

Are there any news on this one?

All 4 comments

Are there any news on this one?

I'm very interested in using this feature!
Is there a design document for the feature? Anyway I can help to implement it?

+1 to this one!

This could work really nicely with https://github.com/browserless/chrome

Was this page helpful?
0 / 5 - 0 ratings

Related issues

egucciar picture egucciar  路  3Comments

jennifer-shehane picture jennifer-shehane  路  3Comments

dkreft picture dkreft  路  3Comments

weskor picture weskor  路  3Comments

jennifer-shehane picture jennifer-shehane  路  3Comments