title: Playwright fails to fill input
body: <p>I'm running a Playwright script on a Jenkins page that has input elements. When I try to <code>fill</code> one of the inputs with text, it fails with this error:</p>
  <pre><code>(node:3337) UnhandledPromiseRejectionWarning: page.fill: Protocol error (Page.insertText): error in channel &quot;content::page&quot;: exception while running method &quot;insertText&quot; in namespace &quot;page&quot;: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.commitCompositionWith] _insertText@chrome://juggler/content/content/PageAgent.js:891:32
  </code></pre>
  <p>I've tried running with <code>DEBUG=pw:api environment</code> enabled but the logs there aren't too helpful. From the normal console log I get the following log:</p>
  <pre><code>waiting for selector &quot;input[name=&quot;_.buildNumber&quot;]&quot;
    selector resolved to visible &lt;input value=&quot;&quot; type=&quot;text&quot; name=&quot;_.buildNumber&quot; class=…/&gt;
  elementHandle.fill(&quot;54&quot;)
    waiting for element to be visible, enabled and editable
    element is visible, enabled and editable
  </code></pre>
  <p>So it seems like the element exists and can be edited but for some reason Playwright is unsuccessful at trying to fill it. What am I missing here?</p>