Dónal
Dónal

Reputation: 187379

test mobile website in desktop browser

I'm developing a mobile website for iPhone, Android, etc. using jQuery Mobile. I'd like to be able to test this in my desktop browser and was wondering what the best approach is. I guess I could use a plugin to change the User-Agent header to the appropriate value and manually resize the browser to the device's width, but is there a simpler/more reliable way?

Update

Sorry, I should have mentioned that the only hardware available is a Windows laptop

Upvotes: 14

Views: 25778

Answers (7)

Ludus H
Ludus H

Reputation: 239

I got nice results, visualy, by using Chrome add-on called Ripple Beta. Bad thing is that there is no ability to add some custom device, like tablets of 8" or 9" or bigger... but works. I'm not sure is it able to show some errors visible on real device but seems nice.

Upvotes: 1

Jay Walks
Jay Walks

Reputation: 343

In Chrome hit F12 to open the Developer Toolbar. Then click 'Toggle device toolbar' (tablet icon, top left next to select element). You can then choose the device at the top to test.

Upvotes: 7

MantasG
MantasG

Reputation: 233

Look for the Chrome plugin Responsive Web Design Tester - you'll be able to emulate mobile browsers for different device sizes on all platforms.

Upvotes: 0

DevJoe
DevJoe

Reputation: 419

There is also http://www.browserstack.com/responsive that can be used to get a screenshot of what your site would look like on a number of given devices.

There is however a limitation of how many screenshots you can get in the free version I have linked to here.

Upvotes: 1

frayser
frayser

Reputation: 1782

Manymo should work very well simulating Android for you. It shows me exactly what my cell phone shows, even though my desktop browsers don't. Manymo is a website with a lot of Android phones pictured. Just click one and enter your URL. There are options such as Android versions and screen sizes.

Upvotes: 0

Rosie Sherry
Rosie Sherry

Reputation: 41

There's also PerfectoMobile for testing on devices remotely...though it can be painfully slow. I'd really recommend at least getting some 'base' testing devices, if possible.

Upvotes: 1

Phill Pafford
Phill Pafford

Reputation: 85368

Well if you have a Mac and xCode is installed you can use the Simulator. Open Mobile Safari and point to you web page on all Apple devices

You can also use the Android Emulator ( But I've not tested that it can access the web from the browser )

Alternatively you could use a plugin ( as you have suggested ).

I personally use Chrome with this plugin:

with pretty good results.

I've used Device Anywhere before

you access the device through a web portal/site and control it, but this costs $$$

Actual device testing in going to be the most reliable

related:

Upvotes: 8

Related Questions