You don’t need to pass any width for mobile devices. Percy takes the default browser width instead. In case you have desktop & mobile browsers enabled in the same project, then you can pass width for desktop browsers, as usual. Percy ignores the width information for mobile.
What width do I need to pass to test on mobile browsers?
Did this answer your question?
What did you like?
We're sorry to hear that.
Thank you for your feedback.
Related articles
- What are the grouping options provided by Percy?
- Can I override the Appium driver function for Percy SDK execution?
- How does Percy calculate the snapshot/screenshot usage?
- Can we specify browsers from the code/script?
- Why is my build stuck on receiving state?
- What does “Wait for base build” do?
- Why am I getting the error “Some snapshots in this build took too long to render even after multiple retries”?