Skip to content

Commit

Permalink
Remove not supported statement
Browse files Browse the repository at this point in the history
Playwright added support for `emulateMedia` in this PR microsoft/playwright#6646
  • Loading branch information
jdvivar committed May 25, 2022
1 parent afcc7fc commit ff703af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/test-runner/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('my component', () => {

The `emulateMedia` command allows changing browser media queries. The function is async and should be awaited.

`emulateMedia` is supported in `@web/test-runner-chrome`, `-puppeteer` and `-playwright`. The `reducedMotion` option is not supported by playwright.
`emulateMedia` is supported in `@web/test-runner-chrome`, `-puppeteer` and `-playwright`.

<details>
<summary>View example</summary>
Expand Down

0 comments on commit ff703af

Please sign in to comment.