title: playwright - issues with login form, inputs and submit click
body: <p>Im trying to write the login function for this website:</p>
  <p>and this is my code:</p>
  <pre><code>const { chromium, firefox, webkit } = require('playwright');
  (async () =&gt; {
    const browser = await chromium.launch({ headless: false, slowMo: 50  });
    const context = await browser.newContext({
      userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36'
    });
    const page = await context.newPage();
    await page.goto('url');
    await page.type('input[name=&quot;userName&quot;]', 'some@account');
    await page.type('input[name=&quot;password&quot;]', 'somepassword');
    await page.click('text=Sign In');
    await page.waitForTimeout(2000);
    await context.close();
  })();
  </code></pre>
  <p>I put headless: false so I can see what's going on, but input values are not filling and sign in button is not clicked, any help?</p>