Watch JavaScript values in real time with Live Expressions

Kayce Basques
Kayce Basques
Sofia Emelianova
Sofia Emelianova

If you find yourself typing the same JavaScript expression in the Console repeatedly, you might find it easier to create a Live Expression. With Live Expressions, you type an expression once and then pin it to the top of your Console. The value of the expression updates in near real time.

Create a live expression

To pin an expression to the top of the Console:

  1. Open the Console.
  2. Click Create Live Expression. Create Live Expression. The Live Expression text box appears.

  3. Type your expression in the text box. For example, you can use a live expression to track element focus.