Open In App

Shortcuts for Safari Developer Tools

Safari Developer Tools are a big help for people who make websites. They provide features to check, fix, and improve web pages. Shortcuts are one of the best tools. They help you quickly and easily move through web development, making things faster.

Types of Shortcuts:

Action

Keyboard shortcut

Description

Toggle Web Inspector

Command+Option+I

Opens/closes the Web Inspector for web page inspection

Resources navigation sidebar

Control+1

Navigate to the Resources panel to inspect resources

Console

Control+4

Open the console pane

Layer details sidebar

Control+Shift+3

Displays details about layers in the current webpage

Timelines navigation sidebar

Control+2

Navigates to the Timelines panel for performance analysis

Debugger navigation sidebar

Control+3

Opens the Debugger panel for JavaScript debugging

Scope Chain details sidebar

Control+Shift+5

Displays the Scope Chain details in the JavaScript context

Style details sidebar

Control+Shift+4

Navigates to the Style details sidebar for CSS information

Node details sidebar

Control+Shift+2

Opens the Node details sidebar for details on DOM nodes

Resource details sidebar

Control+Shift+1

Displays the Resource details sidebar for resource info

Show the previous view in the content browser

Command+Control+Left Arrow

Moves to the previous view in the content browser

Show the next view in the content browser

Command+Control+Right Arrow

Moves to the next view in the content browser

Console Shortcuts

Action

Keyboard shortcut

Description

Toggle Console

Esc

Toggles the visibility of the console

Autocomplete

Tab

Autocompletes the current input in the console

Previous Command

Up Arrow or Control+P

Retrieves the previous command in the command history

Next Command

Down Arrow or Control+N

Retrieves the next command in the command history

Clear

Command+K or Control+L

Clears the console output and command history

Force Evaluation

Command+Return

Forces the evaluation of the current input in console

Force Newline

Option+Return

nserts a newline character without executing

Debugger Shortcuts

Action

Keyboard shortcut

Description

Start Profiling JavaScript

Command+Option+Shift+P

Initiates profiling of JavaScript code

Start Timeline Recording

Command+Option+Shift+T

Begins recording a timeline of the application

Pause script execution

Command+Control+Y or Command+/

Pauses the execution of the currently running script

Step over

F6 or Command+’

Steps over the current line of code in debugging

Step into

F7 or Command+;

Steps into the function call at the current cursor

Step out

F8 or Command+Shift+;

Steps out of the current function to its caller

Miscellaneous Shortcuts

Action

Keyboard Shortcut

Description

Reload page

Command+R

Reload the current Page

Reload page without cache

Command+Shift+R

Reloads the page, bypassing the cache

Find

Command+F

Opens the search bar to find text on the page

Search entire Inspector

Command+Shift+F

Searches the entire Inspector for specified content

Undo

Command+Z

Undoes the last action

Redo

Command+Shift+Z

Redoes the previously undone action

Save file

Command+S

Saves the changes made to the current file

Increment number value by 10

Option+Shift+Up Arrow

Increases a numerical value by 10

Increment number value by 1 (or by 0.1 if the value is between -1 and 1)

Option+Up Arrow

Increases a numerical value by 1 (or 0.1 if between -1 and 1)

Decrement number value by 1 (or by 0.1 if the value is between -1 and 1)

Option+Down Arrow

Decreases a numerical value by 1 (or 0.1 if between -1 and 1)

Decrement number value by 10

Option+Shift+Down Arrow

Decreases a numerical value by 10

Features of Shortcuts

Benefits of Shortcuts

How/When to use these Shortcuts?

Steps to Use/Implement

Real Life Application

Picture a developer trying to solve the puzzle of an annoying layout problem on a website. Our programmer turns into a digital Sherlock with the help of shortcuts. Shortcuts help check parts of the webpage, move through it and change looks quickly. This helps solve problems. Pictures or small moving pictures show how shortcuts are used step-by-step. This is very helpful in figuring things out practically.


Article Tags :