Closed hoch closed 4 months ago
@terryzfeng @Kizjkre I think we can use this issue to record/document the research. What do you think?
This looks pretty comprehensive, but I haven't checked on how to capture/analysis audio output: https://playwright.dev/
Some criteria to consider:
Base Questions: Which test frameworks are:
Here is the research/findings/documentation I have for the Playwright framework. Learning Playwright became quite involved and I needed to write myself a README.
https://docs.google.com/document/d/1e7G9jc4kuVZWvjylTtFE76DzQBsOG6lZSFmV19Kc5cY/edit
The two branches in this repo has two prototypes: one using Puppeteer and one using just client-side code.
--autoplay-policy=no-user-gesture-required
is a pretty useful argument to have.
@Kizjkre I added no-user-gesture-required
which worked with Chrome but it doesn't look like Firefox supports it, so the tests weren't compatible.. I couldn't quite figure out the flags
Linking the PR for Playwright: https://github.com/GoogleChromeLabs/web-audio-samples/pull/368