I want to test the mobile version of a website using Google Chrome for Desktop.
Usually I'm able to load mobile sites by prefixing m.
before the URL, but trying to load m.superuser.com
or m.github.com
just results in a "Site cannot be reached" error.
How can I test the mobile version of a website in Chrome for Desktop?
Best Answer
You can use Google Chrome's developer tools to request the mobile version of a website:
Click the 'Toggle device toolbar' button to turn Device Mode on or off. (Icon is blue when Device Mode is on).
(Optional) Select which mobile device you want to simulate with the 'Viewport controls'.
Refresh the webpage with device mode enabled to allow the mobile version to load.
Sources