You can also use the "zap" feature. Just use the lightning bolt icon to the left of the eyedropper and it'll skip step 4. I also found this to work better because selecting shorts ended up always selecting the entire videos section as well.
Your link talks about the element zapper, the icon that looks like a lightning. The instructions above talk about the element picker, the icon that looks like an eye dropper.
You can also use the “zap” feature. Just use the lightning bolt icon to the left of the eyedropper and it’ll skip step 4. I also found this to work better because selecting shorts ended up always selecting the entire videos section as well.
There are pre-made filterlists that deal with annoyances like this (which tend to end up more reliable as tools that randomize/minify CSS classes get widely adopted), not just on YT but the wider web as a whole. I've written about how to set them up here: https://blahaj.zone/@ShittyKopper/pages/usable-web if you want to take a look at it
Does this work consistenyl? I tried that with Pinterest's login popup and it doen't work (the element changes every time you enter the site). I ended up adding a filter to remove all Pinterest results from all my searches.