You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading from v1 to v2, I noticed some screenshots that used to work were coming out completely blank. I am explicitly setting the page viewport, so I don't think that this relates to #5080.
The one factor that the affected screenshots have in common is that they're produced from HTML that utilizes a CSS -webkit-mask-image with an SVG mask.
I don't know if anyone is monitoring these issues, but this problem is still happening as of today. I would absolutely attempt a PR if I had any idea where to start on the issue.
...and of course I solve the problem immediately after bumping the issue.
Turns out this is caused by CORS, related to using the file:// protocol. If I pass --disable-web-security as part of the launch options, everything is working as expected! 🎉
When upgrading from v1 to v2, I noticed some screenshots that used to work were coming out completely blank. I am explicitly setting the page viewport, so I don't think that this relates to #5080.
The one factor that the affected screenshots have in common is that they're produced from HTML that utilizes a CSS
-webkit-mask-image
with an SVG mask.Steps to reproduce
Tell us about your environment:
2.0.0
10.15.1
(Catalina)12.12.0
What steps will reproduce the problem?
Please include code that reproduces the issue.
screenshot-mask-image
branchnode index.js
What is the expected result?
What happens instead?
The text was updated successfully, but these errors were encountered: