title: What's wrong on my file uploading? (Playwright)
body: <p>I'm facing with an issue that my files are not being uploaded to website, here is a code:</p>
  <pre><code>await mainPage.clickElement('locator for the element &quot;Add logo&quot;');
      page.on('filechooser', async (fileChooser) =&gt; {
        await fileChooser.setFiles('path to jpg file');
      });
  </code></pre>
  <p>I'm using &quot;@playwright/test&quot;: &quot;^1.19.2&quot;,
  why it is not working, what's wrong?<br />
  Here is a DOM:</p>
  <p><a href="https://i.stack.imgur.com/fr40z.png" rel="nofollow noreferrer">https://i.stack.imgur.com/73Q48.png</a></p>
  <p>UPD:</p>
  <pre><code>await mainPage.clickElement('locator for the element &quot;Add logo&quot;');
  </code></pre>
  <p>is a simple page.click(), just used from PageObject</p>