I'm having trouble navigating to different instances of a word using ⌘F and ⌘G/⇧⌘G while inside of the console.
Simple example/steps to reproduce without needing to set up any environment:
In specific, it seems to replace part of the word that I'm searching for with a chunk of a word that I used from my last session. For example, when I search for the "function," it replaces the word with "loc" because in my previous session, I searched for "location."
Simple example/steps to reproduce without needing to set up any environment:
Go to a random website. Here's a page that you can use: Safari Web Inspector Console
Open the Safari Dev Tools using ⌘I.
Navigate to the "Console" tab.
Log an object by using console.dir(Object).
Inside the console, use the shortcut ⌘F (find) or put your cursor inside the search box.
Search for something. For example, I searched for "function".
Try navigating to the next instance of the word using ⌘G or by clicking on the right arrow next to the search bar.
In specific, it seems to replace part of the word that I'm searching for with a chunk of a word that I used from my last session. For example, when I search for the "function," it replaces the word with "loc" because in my previous session, I searched for "location."