You did select the correct frame in the console?

In the popup window the shortest method is to right click and inspect your extension, this tells console to auto select the correct frame.
if you have “top” as highlighted then your console is talking to the wrong frame.