Mobile Testing with Nativefier

I am currently using this to test responsive designs from my laptop instead of switching to my phone to check.

Install nativefier

Install nativefier via official instructions

Choose an user agent

You can look up your favorite but here are some examples

Build a mobile testing application

  1. Set limits for the height and width of the window
  2. Specify the user agent
  3. Set the application name
  4. Provide the url

    nativefier --max-width 600px --min-width 375px --min-height 600px --max-height 1200px -u USERAGENTINQUOTES -n APPNAME URL