title: Handle a webpage in JavaScript
body: <p>Is any way to handle a webpage (ex. Google.com) elements like changing a textBox content or click on some button with JavaScript?</p>
  
  <p>I already do this with <code>WebBrowser</code> in C#:</p>
  
  <pre><code>WebBrowser wb = new WebBrowser();
  wb.Url = new Uri("https://google.com");
  wb.Document.GetElementById("lst-ib").InnerText = "Stackoverflow";
  wb.Document.GetElementById("btnK").InvokeMember("Click");
  </code></pre>
  
  <p>This code changes Google.com Search field to "Stackoverflow" and then clicks on "Google Search" button.</p>