Closed ryanjduffy closed 2 years ago
We don't have docs yet. I think we'll want to create a proper fork of playwright with our customizations onto which we can merge upstream. I'll add a CONTRIBUTING.md to this PR to document my steps for this time so we can continue to refresh as needed.
Issue
Our modified build of playwright was from 1.10 and was incompatible with
@playwright/test
which is a common runner for playwright.Resolution
recordreplay
directory to organize our customizationspatch.js
which monkey patches the replay browsers into the registryNotes
I also disabled a couple WebDriver protocol messages (Browser.setReducedMotion and Browser.setForcedColors) that don't seem to be supported by Replay. Would be better to comment those out in source before the build but I did include that change in 8893e1b94c83cb644482e5371e05c33d769d1a92 which includes all of our customizations.