Skip to content

Web support via Puppeteer #1882

@awinograd

Description

@awinograd

Is your feature request related to a problem? Please describe.

We deploy a react native web app in addition to ios/android. Ideally we'd be able to test the app using the same harness as our native RN apps.

Describe the solution you'd like

I've started implementing a POC PuppeteerDriver and web specific actions/matchers. I have some basic assertions / waitFor / actions working (though the code is currently a mess). If this is something your project is interested in having in master, I'd like to discuss approach / implementation details to come up with something that'd be acceptable.

Describe alternatives you've considered

There are alternative frameworks (e.g. Cypress) that are specific to web. Test could be 2x written for the web platform specifically.

I could stub the detox globals with ones backed by cypress / puppeteer without integrating directly into detox. Maintain the api, but have a different implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions