<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.20.0</li>
<li>Operating System: Mac</li>
<li>Node.js version: 12.22</li>
<li>Browser: Chromium, WebKit</li>
<li>Extra: [any specific details about your environment]</li>
</ul>


<p dir="auto"><strong>Code Snippet</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="  test('example test', async ({ page }) =&gt; {
    await page.goto(&lt;MY_URL&gt;); // can share the url privately
  });"><pre class="notranslate">  <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'example test'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
    <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-c1">goto</span><span class="pl-kos">(</span><span class="pl-c1">&lt;</span><span class="pl-ent">MY_URL</span><span class="pl-c1">&gt;</span>); // can share the url privately
  <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// config.js
 use: {
    headless: true,
    trace: 'retain-on-failure',
    screenshot: 'on',
  },
  projects: [
    {
      name: 'Desktop Chrome',
      use: { ...devices['Desktop Chrome'] },
    },
  ]"><pre class="notranslate"><span class="pl-c">// config.js</span>
 use: <span class="pl-kos">{</span>
    <span class="pl-c1">headless</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
    <span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>
    <span class="pl-c1">screenshot</span>: <span class="pl-s">'on'</span><span class="pl-kos">,</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-s1">projects</span>: <span class="pl-kos">[</span>
    <span class="pl-kos">{</span>
      <span class="pl-c1">name</span>: <span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">,</span>
      <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-kos">]</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong><br>
Navigating to MY_URL times out and reports the following error:<br>
<code class="notranslate">Timeout of 20000ms exceeded while shutting down environment</code></p>
<p dir="auto">Browser logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" pw:browser &lt;launching&gt; /Users/test/Library/Caches/ms-playwright/chromium-978106/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --enable-use-zoom-for-dsf=false --no-sandbox --user-data-dir=/var/folders/z0/5n6p2nrn1p7_q6x11nb1ck1m0000gq/T/playwright_chromiumdev_profile-zUHo3B --remote-debugging-pipe --no-startup-window +0ms
  pw:browser &lt;launched&gt; pid=23926 +7ms
  pw:browser [pid=23926][err] [23926:68355:0321/104018.011736:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for tags.knewz.com failed: +6s
  pw:browser [pid=23926][err] ----- Certificate i=0 (CN=tags.knewz.com) ----- +0ms
  pw:browser [pid=23926][err] ERROR: Time is after notAfter +0ms
  pw:browser [pid=23926][err]  +0ms
  pw:browser [pid=23926][err]  +0ms
  pw:browser [pid=23926][err] [23926:51715:0321/104018.011955:ERROR:ssl_client_socket_impl.cc(996)] handshake failed; returned -1, SSL error code 1, net_error -201 +0ms
  pw:browser [pid=23926][err] [23989:259:0321/104026.452691:ERROR:system_services.cc(31)] SetApplicationIsDaemon: Error Domain=NSOSStatusErrorDomain Code=-50 &quot;paramErr: error in user parameter list&quot; (-50) +8s
  pw:browser [pid=23926][err] 2022-03-21 10:40:31.443 Chromium Helper[23989:567532] In -[NSApplication(NSQuietSafeQuit) _updateCanQuitQuietlyAndSafely], _LSSetApplicationInformationItem(NSCanQuitQuietlyAndSafely) returned error -50 +"><pre class="notranslate"><code class="notranslate"> pw:browser &lt;launching&gt; /Users/test/Library/Caches/ms-playwright/chromium-978106/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --enable-use-zoom-for-dsf=false --no-sandbox --user-data-dir=/var/folders/z0/5n6p2nrn1p7_q6x11nb1ck1m0000gq/T/playwright_chromiumdev_profile-zUHo3B --remote-debugging-pipe --no-startup-window +0ms
  pw:browser &lt;launched&gt; pid=23926 +7ms
  pw:browser [pid=23926][err] [23926:68355:0321/104018.011736:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for tags.knewz.com failed: +6s
  pw:browser [pid=23926][err] ----- Certificate i=0 (CN=tags.knewz.com) ----- +0ms
  pw:browser [pid=23926][err] ERROR: Time is after notAfter +0ms
  pw:browser [pid=23926][err]  +0ms
  pw:browser [pid=23926][err]  +0ms
  pw:browser [pid=23926][err] [23926:51715:0321/104018.011955:ERROR:ssl_client_socket_impl.cc(996)] handshake failed; returned -1, SSL error code 1, net_error -201 +0ms
  pw:browser [pid=23926][err] [23989:259:0321/104026.452691:ERROR:system_services.cc(31)] SetApplicationIsDaemon: Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list" (-50) +8s
  pw:browser [pid=23926][err] 2022-03-21 10:40:31.443 Chromium Helper[23989:567532] In -[NSApplication(NSQuietSafeQuit) _updateCanQuitQuietlyAndSafely], _LSSetApplicationInformationItem(NSCanQuitQuietlyAndSafely) returned error -50 +
</code></pre></div>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.33]</li>
<li>Operating System: [Windows 10]</li>
<li>Browser: [Chrome]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="await Page.GetByRole(AriaRole.Textbox, new() { Name = &quot;Email or phone&quot; }).ClickAsync();
        **await Page.GetByRole(AriaRole.Textbox, new() { Name = &quot;Email or phone&quot; }).FillAsync(_config.GoogleUser);**
        await Page.GetByRole(AriaRole.Button, new() { Name = &quot;Next&quot; }).ClickAsync();
        await Page.GetByRole(AriaRole.Textbox, new() { Name = &quot;Enter your password&quot; }).ClickAsync();
        await Page.GetByRole(AriaRole.Textbox, new() { Name = &quot;Enter your password&quot; }).FillAsync(_config.GooglePassword);
        await Page.GetByRole(AriaRole.Button, new() { Name = &quot;Next&quot; }).ClickAsync();
"><pre class="notranslate"><code class="notranslate">await Page.GetByRole(AriaRole.Textbox, new() { Name = "Email or phone" }).ClickAsync();
        **await Page.GetByRole(AriaRole.Textbox, new() { Name = "Email or phone" }).FillAsync(_config.GoogleUser);**
        await Page.GetByRole(AriaRole.Button, new() { Name = "Next" }).ClickAsync();
        await Page.GetByRole(AriaRole.Textbox, new() { Name = "Enter your password" }).ClickAsync();
        await Page.GetByRole(AriaRole.Textbox, new() { Name = "Enter your password" }).FillAsync(_config.GooglePassword);
        await Page.GetByRole(AriaRole.Button, new() { Name = "Next" }).ClickAsync();

</code></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">the test logs in via google openID</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">gets stuck on the ** line with a timeout</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" System.TimeoutException : Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for GetByRole(AriaRole.Textbox, new() { Name = &quot;Email or phone&quot; })
============================================================"><pre class="notranslate"><code class="notranslate"> System.TimeoutException : Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for GetByRole(AriaRole.Textbox, new() { Name = "Email or phone" })
============================================================
</code></pre></div>