Test Your Website in Various Mobile Devices Without Physically Owning the Devices

As more and more people start surfing on their mobile devices, it is becoming pertinent for us – the webmasters – to make sure that our websites render well in the mobile browser. Responsive web design is probably the way to go, but still that requires a lot of testing to make sure it fits nicely in all devices and screen size. It is almost impossible to get ahold of all the mobile devices in the world, but with a nifty tool in Google Chrome’s developer tool, you can easily test your website in a large list of mobile devices (without spending a single dime).

The “Device Mode” emulation in Chrome’s Developer Tool is a useful tool for you to test your website on multiple mobile devices. As its name implies, it emulates the browser in various devices so you can see how your website renders in each browser.

To get started, open up Chrome and load the website you want to test. Press F12 (“Cmd + Opt + I” for Mac OS X) to open the Developer Tool. Alternatively, you can right click your mouse and select “Inspect Element”.

chrome-open-developer-tool

In the Developer Tool window, click the mobile icon at the top left corner.

chrome-toggle-device-mode

Switch back to the main Chrome window and you should see the website changed to a grid mode.

chrome-website-in-device-mode

Now, all you have to do is to select the mobile device in the “Device” dropdown list. The website will auto-resize itself to match the device’s screen size.

Scrolling through the device list, you can find some of the popular devices like iPhone 3GS, 4, 5, 6, 6 Plus, Samsung Galaxy Note, etc.

chrome-device-list-in-device-mode

Other things that you can test in the device mode include changing the screen resolution, setting the pixel ratio, changing the browser’s user agent, etc.

To exit the “device mode,” simply return to the Developer Tool window and click the mobile icon again, or simply close the Developer Tool window.

Conclusion

The developer tool in Google Chrome is a very powerful and useful tool for webmasters and developers to test and debug their websites. There is a similar tool in Firefox as well (in fact, most browsers come with a developer tool mode), but the one in Chrome comes with more features and is easier to use.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Damien Oh Avatar

Read next

Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark
Almost all of the world’s internet traffic does not travel by satellite but through fibre-optic cables lying on the ocean floor, a hidden web of wires crossing the deepest parts of the sea to connect the continents.
People who flip their phone face down on every table aren’t being secretive. They figured out that staying interruptible meant handing their time to whoever rang first
Twitch vs. Facebook Gaming vs. YouTube Gaming: What’s the Best Live Game Streaming Platform?
Chrome Extensions Ownership Transfer is a Direct Threat to You: How to Stay Safe