Capture screenshots at different viewport widths in Percy on Automate
Learn how to capture screenshots at different viewport widths in Percy on Automate
Percy captures screenshots at the current browser window size during your Automate test run. Viewport width is controlled using Automate’s window resizing APIs, not Percy.
To capture screenshots at multiple widths, resize the browser window before calling percyScreenshot. You can use the same snapshot name to associate screenshots captured at different widths with the same snapshot in Percy.
This uses standard BrowserStack Automate functionality to resize the browser window.
Need more support? Contact BrowserStack.
Reference Topic
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!