M
M
Michael2017-04-11 21:29:06
Google Chrome
Michael, 2017-04-11 21:29:06

How to save position in DevTools console in Chrome after page reload?

Previously, it was possible to expand tags and navigate to the desired tag within the DOM. After reloading the page, the console was updated keeping the position. Now you can dig long and hard into the tag hierarchy, and after a reboot everything will be collapsed again and the position will be body.
There is a slight suspicion that for too dynamic sites where half of the tree is created on the fly, position saving will not work, but it's still strange.
6bdc1992b4614779af43692ea0612c33.PNG
How to return the previous behavior? Or does it depend on the site?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NoMoney, 2017-04-20
@springimport

More hack, probably, but you can do this:
1) Select the element on the Elements tab
2) Press Esc to make the console appear at the bottom
3) Reload the page
4) Type $0 in the console (then you can just up arrow) => Enter
5) RMB on the element => Reveal in Elements panel
PS You can also click on the triangle to collapse/expand while holding down the alt key (opens all elements of the tree).
PPS You can also ctrl+f and find the element by CSS selector ( .a-spacing-top-mini ).
PPPS If the element is visible, you can press ctrl+shift+c and click on it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question