WebPagetest Forums
Mobile locations in Asia / Pacific? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Mobile locations in Asia / Pacific? (/showthread.php?tid=15715)



Mobile locations in Asia / Pacific? - dradicke - 03-12-2019 10:20 PM

Hey,
in the current https://www.webpagetest.org/getLocations.php I cannot see any mobile devices in Asia or Pacific.

Are there any?


RE: Mobile locations in Asia / Pacific? - pmeenan - 03-12-2019 11:26 PM

No. The only physical mobile devices are in Dulles, Virginia. If you want to test a mobile site from another location you can use desktop Chrome and turn on the "Emulate Mobile Device" setting in the Chrome tab and select the device you want to emulate. It uses the same emulation as when you use dev tools locally (plus adds CPU throttling to emulate the physical device).


RE: Mobile locations in Asia / Pacific? - dradicke - 03-12-2019 11:36 PM

Thanks.

Can this be done via API/Script?
And if yes, how would I specify in the command which is now like:
"location","value": "Dulles_iPhone5c:iPhone 5c iOS 9.LTE",

If not: I guess I did not quite understand what you meant by "desktop Chrome and turn on the "Emulate Mobile Device" setting in the Chrome tab".
How would switching to mobile emulation in my desktop chrome help me to measure the speed with webpagetest?

Sorry, if I could not quite follow your advice!


RE: Mobile locations in Asia / Pacific? - pmeenan - 03-13-2019 01:35 AM

Yes, everything in the UI can be done through the API.

location=ec2-ap-northeast-2:Chrome.LTE&mobile=1&mobileDevice=iPhone5c

The full list of mobile device names is here: https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/mobile_devices.ini


RE: Mobile locations in Asia / Pacific? - pmeenan - 03-13-2019 01:38 AM

As far as through the UI, in the WebPageTest UI there is an "advanced settings" section below the browser dropdown. One of the advanced settings tabs is "Chrome" which has Chrome-specific settings and the mobile emulation settings are in there (just make sure to also select Chrome as the browser in the dropdown)