Skip to content

Commit 7a817f0

Browse files
committed
Add note to playwright docs about transformDOM
This question came up recently and it seems like we should document it to help point people in the right direction. More info: happo/happo-playwright#5
1 parent 6f199ac commit 7a817f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: docs/playwright.md

+8
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,11 @@ happened:
307307
element, never the surrounding page.
308308
- There could be a bug in how `happo-e2e` collects styles and assets. Reach out
309309
to [email protected] and we'll triage.
310+
311+
### I'm migrating from `happo-cypress` and `transformDOM` is not working
312+
313+
The `transformDOM` option is currently not supported in `happo-playwright`.
314+
315+
If you're migrating from `happo-cypress` and are using `transformDOM` to hide
316+
content, you may be able to achieve similar results using
317+
[`data-happo-hide`](./hiding-content.md).

0 commit comments

Comments
 (0)