garris / garris/BackstopJS

Mobile testing / set UserAgent

Open
#857 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

I'm struggling with emulating any mobile with chromy. We have a website, that shows a desktop or mobile version depending on a UserAgent, but I didn't find a clear explanation how and where this functionality can be added inside Backstop. Could you provide maybe some examples or a clear way where to add it, or maybe somehow using puppeteer?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing BackstopJS's existing mobile-testing configuration and Puppeteer integration to locate where a UserAgent could be set. Done means providing a clear, reproducible example for emulating a mobile device or documenting why a code change is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.