title: I am building a google extension but I am stuck. I need to find a way to click on a text box of a page and output data to it
body: <p>I just want to know how to or what function to use to Click a button on a page using JS Path but I've been looking for two days now at youtube videos and I can't get my head around it most of the time it doesn't work because functions that they tell me to use in videos don't work. For example</p>
  <pre><code>chrome.tabs.query({active: true, lastFocusedWindow: true}, tabs =&gt; {
        let page = tabs[0].url;
        page.Evaluate(&quot;document.querySelector('#cboxLoadedContent &gt; div &gt; div.block_content &gt; form &gt; div &gt; table &gt; tbody &gt; tr:nth-child(1) &gt; td:nth-child(1) &gt; input').value = '1'&quot;)
      });
  </code></pre>
  <p>but the function page.Evaluate is not a function that works with google extension for me not sure why?
  Can anyone help me find a way to click buttons and insert values using JS Path. Also it needs to be on the current page that is opened with the google extension present.</p>