How do I quickly inspect an element using Safari's Web Inspector, preferably by keyboard shortcut?
In Chrome, command+shift+c enables the function and the mouse then selects an element.
How things work in Safari
In Safari, the same combo seems to work, but only if Web Inspector is selected. Here are some example scenarios:
- Web Inspector is not open. Pressing command+shift+c does nothing.
- Web Inspector is not open. Pressing command+option+i opens and selects Web Inspector, so following up with command+shift+c enables inspection mode.
- Web Inspector is open, but user has interfaced with web site and Web Inspector is not selected. Pressing command+shift+c does nothing and pressing command+option+i closes Web Inspector.