title: How do I enter a string in a textbox?
body: <p>Suppose we're on a webpage that has a textbox for input with the CSS path <code>input[type = 'input']</code>.</p>
  
  <p>I'm trying to write a script that runs on Chrome+Tampermonkey that will enter a text in this textbox and then press on the 'apply' button.</p>
  
  <p>For the 'apply' button something like this will work:</p>
  
  <pre><code>function To3(){
    setTimeout(function() {
      'use strict';
       $( "button[label='apply']" ).click()
       To1();
    }, 2000);
  }
  </code></pre>
  
  <p>How can I write a script that will enter a text in the above textbox?</p>