I build an extension (my pet project) where I click on name of snippet and it will automatically add it to console. I'm stuck because when I use console.log my snippets is already "entered" and after invoking that function it shows reference error:
The point is - how to write something into a console using event to "paste snippet" without hitting enter?