You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run sitespeed.io --android https://www.sitespeed.io do I need to have Android real device as documentation asks to enable developer mode after installing apt-get install android-tools-adb .Reference link
Mobile
I was able to use --mobile for testing the website on default device that is Moto G4 but I was not able to understand how to pass width/height. Also can I select any other mobile device using this option?
--browsertime.chrome.mobileEmulation.deviceName
This allowed me to select another mobile device which is great but then whats the difference between --mobile and --browsertime.chrome.mobileEmulation.deviceName argument. Like which argument has what benefits? Is it CPU throttling
Also one followup question is why the --android argument asks for developer mode but the other arguments work without it.
Is it because --android option allows us to test it on real device?
The text was updated successfully, but these errors were encountered:
--mobile
The name is confusing because it was added before we had the possibility to run on real devices. It really means "run a desktop browser and emulate it as a mobile browser".
I was able to use --mobile for testing the website on default device that is Moto G4 but I was not able to understand how to pass width/height. Also can I select any other mobile device using this option?
--mobile and --browsertime.chrome.mobileEmulation.deviceName argument.
--mobile just takes the default one (Moto G4). Setting another device name will give another user agent and width/height. For CPU throttling you need to specify that yourself.
Your question
Hey @soulgalore could you help me understand the mobile emulation part on sitespeed.
I have read the documentation for mobile emulation. Referred links are as follows
https://www.sitespeed.io/documentation/sitespeed.io/mobile-phones/
https://www.sitespeed.io/documentation/sitespeed.io/mobile-phones/#test-on-emulated-mobile
https://www.sitespeed.io/documentation/sitespeed.io/cpu-benchmark/
https://www.sitespeed.io/documentation/sitespeed.io/configuration/
So below are my questions regarding it
Android
When I run sitespeed.io --android https://www.sitespeed.io do I need to have Android real device as documentation asks to enable developer mode after installing apt-get install android-tools-adb .Reference link
Mobile
I was able to use --mobile for testing the website on default device that is Moto G4 but I was not able to understand how to pass width/height. Also can I select any other mobile device using this option?
--browsertime.chrome.mobileEmulation.deviceName
This allowed me to select another mobile device which is great but then whats the difference between --mobile and --browsertime.chrome.mobileEmulation.deviceName argument. Like which argument has what benefits? Is it CPU throttling
Also one followup question is why the --android argument asks for developer mode but the other arguments work without it.
Is it because --android option allows us to test it on real device?
The text was updated successfully, but these errors were encountered: