Javascript from Safari bookmark


I have an issue running this from Safari Bookmark :

tell application "Safari Technology Preview" to ¬     do JavaScript ¬         "document.querySelectorAll(\"[data-item-id=\\"new-search\\"]\")[0].click();" in current tab of window 1 

I tried with :

javascript:document.querySelectorAll(\"[data-item-id=\\"new-search\\"]\")[0].click() 

Then

javascript:Array.from(document.querySelectorAll(\"[data-item-id=\\"new-search\\"]\")[0].click()); 

But obviously I’m doing in the wrong format