Learning on Web Dev Open is free for all.

Take It Apart > The mobile reality models forgetTest on a real device
Phase 01The mobile reality models forget66 of 434

Test on a real device

Put your site on an actual phone, over an actual mobile network, and use it with one thumb. Everything you find will be something no simulator reports.

Build25 minAI off

Get your deployed URL onto a real phone. If you have an Android device, connect it by USB and open chrome://inspect on your laptop for full DevTools against the page. On iOS, connect it and use Safari’s Develop menu. Both take about five minutes to set up the first time and are useful to know permanently.

Then turn off wifi on the phone. Use the mobile network. This is the single most informative thing in this chapter, your site on a real connection rather than a throttled simulation of one.

Now use it one-handed, the way you use your own phone. Do the main task your site is for. Do not be gentle with it.

Write down everything. A target you missed. Text you had to zoom to read. A form field hidden by the keyboard. Something that took longer than you expected. A tap that did nothing visible so you tapped again. An animation that stuttered. Somewhere you had to change your grip.

Run Lighthouse in mobile mode against the deployed URL and record the numbers, but treat them as a second opinion rather than the verdict, it is a simulation, and your list from the previous step is primary evidence.

Fix the top three. Then go back to the phone, on mobile data, and do the task again. Note whether it feels different. That before-and-after sentence is what goes in your write-up, and it is worth more than the Lighthouse score.

Done when

  • The deployed site opened on a real phone over a mobile connection, not wifi
  • Remote debugging successfully connected at least once
  • A written list of at least six defects found by hand
  • The top three fixed and re-tested on the device
  • Lighthouse mobile scores before and after, with a note on where they disagreed with your own findings

Nobody marks this for you. It goes into your phase checkpoint, where a person does.

Build this in your own editor

This one runs on your machine rather than in the browser workbench. Work to the outcomes below, then come back and mark it complete.

You should now be able to

  • Run remote debugging against a real device
  • Find defects that device mode cannot reproduce
  • Measure on hardware that resembles what people own
Ask the community

Loading…