Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In the Chrome developer panel, is there a keyboard shortcut for the element selector?

In the Chrome developer panel, this tool...

enter image description here

lets you select elements and go directly to them in the DOM view, and see their CSS attributes.

Safari has the same tool.

Is there a keyboard shortcut to activate that tool (once you have the panel open)?

like image 310
Ethan Avatar asked Aug 06 '12 17:08

Ethan


People also ask

What is the shortcut for selecting the button element in the Chrome browser console?

Press Command + Option + J (Mac) or Control + Shift + J (Windows, Linux, ChromeOS) to jump straight into the Console panel. See Get Started With The Console.

What is the shortcut for inspect element?

How to Inspect Elements. To inspect elements you have to right-click any part of a webpage and click Inspect > Inspect Element. Alternatively, you can press Command+Option+i on your Mac or F12 on your PC to do the same.

What is Ctrl F2 in Chrome?

Once there, pressing F2 will open the “edit as HTML” feature. Opens the “Find Bar” in Chrome, which lets you search for text on the current webpage. Ctrl+F also performs the same function. Ctrl+F4 closes the tab that you are currently viewing.


2 Answers

To open / switch from inspect element mode and browser window, you can do:

  • On Mac - + Shift + C

  • On Windows / Linux - Ctrl + Shift + C OR F12

For more useful keyboard shortcuts, refer to the developer tools documentation.

like image 94
Shreedhar Avatar answered Sep 21 '22 17:09

Shreedhar


The shortcut is Ctrl+Shift+C (source).

You can also right click any element in a web page and click Inspect element.

like image 32
amiregelz Avatar answered Sep 20 '22 17:09

amiregelz