TIL Chrome can emulate mobile hardware
POSTED ON:
TAGS: browsers emulation mobile
Smart phones and tablets often include hardware such as Global Positioning Systems (GPS), gyroscopes, and accelerometers. These are not normally available in desktop PCs which can make development using APIs such as geolocation more difficult.
Chrome can emulate device hardware in DevTools — choose Sensors from the More tools menu:
You can:
- Change the geolocation/city
- Change the device orientation
- switch to touch events
- set idle states to see how your app responds to the lock screen.
via Craig Buckler's 15 DevTool Secrets for JavaScript Developers
Related TILs
Tagged: browsers