Where is the new Emulation tab in Chromes console drawer?

你。 提交于 2019-11-27 12:23:39

问题


I frequently use the overrides tab in Chrome Developer tools to emulate other device such IPhone and IPad, but after upgrading to last version (32.0.1700.76 m) everything in the overrides tab is gone and replaced by a checkbox saying "Show 'Emulation' view in console drawer".

Checking this checkbox does not enable a 'Emulation' view in the Console drawer. The "Show Console" button seems to be disabled.


回答1:


See here for more information.

Before starting open the dev tools console (on a Mac cmd-option-i)

  1. Open the Settings panel within the dev tools console (click gear icon on right side)
  2. Check "Show 'Emulation' view in console drawer (looks like you have already done this step) and close screen
  3. Switch to the sources tab of the dev tools console
  4. Press Esc to bring up a screen that slides in from the bottom
  5. Select the Emulation tab on that second screen

There is also a note in the link above stating:

Note: Emulation tools within DevTools were previously contained within an Overrides pane inside the Settings panel. The Emulation panel is the new Overrides pane.




回答2:


After installing Chrome (or the bleeding edge version Chrome Canary) you should be able to do proper mobile emulation within Chrome's Developer Tools. I usually activate them by Right Clicking > Inspect Element

For visual learners like myself, I just included a full screenshot.




回答3:


I'm running Google Chrome version 58.0.3029.110, where the Emulation is no longer available, but all of the features are still available:

Device & Screen

Press Ctl + shift + m or click on Toggle device toolbar, you'll find these in the upper middle of your browser tab. (You'll find more options in the More option section.)

User Agent & Sensors

User Agent is now renamed as Network Conditions and can be found in the Customise and control DevTools > More tools > Network conditions. Sensors can also be found in the same location (ie. Customise and control DevTools > More tools > Sensors).




回答4:


"Show Emulation view in console drawer" message confusing.

Generally our chrome dev tool bar tab selected as a console tab or we try to find out in console tab.

Problem is , Console drawer will not opened when your console tab selected.




回答5:


I seem to have solved it. When I upgraded to Chrome Canary (Version 34.0.1789.0 canary) the problem was solved.

http://www.google.co.uk/intl/en/chrome/browser/canary.html




回答6:


I run into this problem, and it took me a while to figure it out, despite the answers here. I am on Version 37.0.2062.103 m. First, in this version, there is no Override pane, neither "Show 'Emulation' view in console drawer either. It is turned on by default (I guess), but a little bit hidden. The key is to first press ESC key in dev mode (now I'm not sure if it's on by default). You should see a pane with 4 "tabs" including "Emulation" at the bottom. I quoted tabs because it appeared more like a status bar to me and I keep clicking it and nothing happens, until I accidentally resized the pane.




回答7:


Sweet... This behaviour (running device emulation and debug mode) works in Chromium on Linux Ubuntu by hitting F12 and then the drawer icon. :)

More info: Some more info, including screenshots



来源:https://stackoverflow.com/questions/21182755/where-is-the-new-emulation-tab-in-chromes-console-drawer

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