Overrides page in Chrome Developer Tools gone in latest Canary

我只是一个虾纸丫 提交于 2019-11-30 02:40:16
Alex W

Hit Esc to open the console drawer, then you can open the Sensors tab via the drawer menu on the left.

Sensors provides geolocation and accelerometer settings.

Additionally, the newer Device Mode captures the basics of mobile device emulation.

Seems like the "Emulation" button only is available from Console, when Console is opened from one of the other tool tabs. Ex. "Source" or "Elements".

Go to "Elements" , click on the "Show console" icon. The "console drawer" will open in bottom part of the window with Console, Search, Emulation tabs. If this is a bug or not is hard to say.

This thread is quite old and everything is now changed with the new "device mode". You cannot use any of this anymore.

As stated here by @paul-irish (from the Chrome DevTools team) on twitter :

  • one should just activate the device mode, and then use the shift key + drag the mouse around to emulate pinch zoom, with no particular setup.

  • this pinch to zoom emulation doesn't seem to work very good with JS libs like Hammer.

For now, it is better to test pinch to zoom on actual devices, or with http://browserstack.com

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!