Issue 1:
Context:

Playwright Version: 1.20.0

Operating System: Mac

Node.js version: 12.22

Browser: Chromium, WebKit

Extra: [any specific details about your environment]

Code Snippet

test('example test', async ({ page }) => {
await page.goto(<MY_URL>); // can share the url privately
});

// config.js
use: {
headless: true,
trace: 'retain-on-failure',
screenshot: 'on',
},
projects: [
{
name: 'Desktop Chrome',
use: { ...devices['Desktop Chrome'] },
},
]

Describe the bug

Navigating to MY_URL times out and reports the following error:

Timeout of 20000ms exceeded while shutting down environment

Browser logs:

pw:browser <launching> /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 <launched> 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 +

Issue 2:
System info

Playwright Version: [v1.33]

Operating System: [Windows 10]

Browser: [Chrome]

Other info:

Source code

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();

Steps

[Run the test]

Expected

the test logs in via google openID

Actual

gets stuck on the ** line with a timeout

System.TimeoutException : Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for GetByRole(AriaRole.Textbox, new() { Name = "Email or phone" })
============================================================