<p dir="auto">Is there a way to access the logs of both electron processes, main and renderer?</p>
<p dir="auto">I used Spectron before, which had this functionality as functions. But I haven't seen it in the API docs of playwright, so is there a way to get them by using the current API?</p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.32.0</li>
<li>Operating System: Windows 11 Version 22H2 (OS Build: 22621.1413</li>
<li>Browser: Chromium</li>
<li>Other info: Channel = msedge</li>
</ul>
<h3 dir="auto">Source code</h3>
<div class="highlight highlight-source-cs notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="using Microsoft.Playwright;

using var playwright = await Playwright.CreateAsync();
await using var browser = await playwright.Chromium.LaunchAsync(new() { Channel = &quot;msedge&quot;, Headless = false });
var page = await browser.NewPageAsync();
await page.GotoAsync(&quot;https://playwright.dev/dotnet&quot;);
await page.ScreenshotAsync(new()
{
    Path = &quot;screenshot.png&quot;
});"><pre class="notranslate"><span class="pl-k">using</span> Microsoft<span class="pl-kos">.</span>Playwright<span class="pl-kos">;</span>

<span class="pl-k">using</span> <span class="pl-smi">var</span> <span class="pl-s1">playwright</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> Playwright<span class="pl-kos">.</span><span class="pl-en">CreateAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-k">using</span> <span class="pl-smi">var</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> playwright<span class="pl-kos">.</span>Chromium<span class="pl-kos">.</span><span class="pl-en">LaunchAsync</span><span class="pl-kos">(</span><span class="pl-k">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">Channel</span> <span class="pl-c1">=</span> <span class="pl-s"><span class="pl-s">"</span>msedge<span class="pl-s">"</span></span><span class="pl-kos">,</span> <span class="pl-s1">Headless</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> browser<span class="pl-kos">.</span><span class="pl-en">NewPageAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> page<span class="pl-kos">.</span><span class="pl-en">GotoAsync</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span>https://playwright.dev/dotnet<span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> page<span class="pl-kos">.</span><span class="pl-en">ScreenshotAsync</span><span class="pl-kos">(</span><span class="pl-k">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">{</span>
    <span class="pl-s1">Path</span> <span class="pl-c1">=</span> <span class="pl-s"><span class="pl-s">"</span>screenshot.png<span class="pl-s">"</span></span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">MS Edge should be launched.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">Browser fails to launch with the following exception:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unhandled exception. Microsoft.Playwright.PlaywrightException: Browser closed.
==================== Browser output: ====================
&lt;launching&gt; C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --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 --no-sandbox --user-data-dir=C:\Users\&lt;User Id&gt;\AppData\Local\Temp\playwright_chromiumdev_profile-RA89d8 --remote-debugging-pipe --no-startup-window
&lt;launched&gt; pid=5708
[pid=5708][err] [5708:10068:0328/130624.697:ERROR:sitelist_downloader.cc(131)] No primary account. Unable to fetch access token.
   at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](String guid, String method, Dictionary`2 dictionary) in /_/src/Playwright/Transport/Connection.cs:line 143
   at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 465
   at Microsoft.Playwright.Core.BrowserContext.NewPageAsync() in /_/src/Playwright/Core/BrowserContext.cs:line 285
   at Microsoft.Playwright.Core.Browser.NewPageAsync(BrowserNewPageOptions options) in /_/src/Playwright/Core/Browser.cs:line 186
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 5
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 7
   at Program.&lt;Main&gt;(String[] args)"><pre class="notranslate"><code class="notranslate">Unhandled exception. Microsoft.Playwright.PlaywrightException: Browser closed.
==================== Browser output: ====================
&lt;launching&gt; C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --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 --no-sandbox --user-data-dir=C:\Users\&lt;User Id&gt;\AppData\Local\Temp\playwright_chromiumdev_profile-RA89d8 --remote-debugging-pipe --no-startup-window
&lt;launched&gt; pid=5708
[pid=5708][err] [5708:10068:0328/130624.697:ERROR:sitelist_downloader.cc(131)] No primary account. Unable to fetch access token.
   at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](String guid, String method, Dictionary`2 dictionary) in /_/src/Playwright/Transport/Connection.cs:line 143
   at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 465
   at Microsoft.Playwright.Core.BrowserContext.NewPageAsync() in /_/src/Playwright/Core/BrowserContext.cs:line 285
   at Microsoft.Playwright.Core.Browser.NewPageAsync(BrowserNewPageOptions options) in /_/src/Playwright/Core/Browser.cs:line 186
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 5
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 7
   at Program.&lt;Main&gt;(String[] args)
</code></pre></div>
<p dir="auto"><strong>Logs with <code class="notranslate">DEBUG: pw:browser,pw:protocol,pw:api</code></strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2023-03-28T07:57:51.753Z pw:browser &lt;launching&gt; C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --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 --no-sandbox --user-data-dir=C:\Users\&lt;User Id&gt;\AppData\Local\Temp\playwright_chromiumdev_profile-yeCyZw --remote-debugging-pipe --no-startup-window
2023-03-28T07:57:51.763Z pw:browser &lt;launched&gt; pid=5536
2023-03-28T07:57:51.764Z pw:protocol SEND Γû║ {&quot;id&quot;:1,&quot;method&quot;:&quot;Browser.getVersion&quot;}
2023-03-28T07:57:51.960Z pw:protocol ΓùÇ RECV {&quot;id&quot;:1,&quot;result&quot;:{&quot;protocolVersion&quot;:&quot;1.3&quot;,&quot;product&quot;:&quot;Edg/111.0.1661.54&quot;,&quot;revision&quot;:&quot;@9e410ec23a36266fd1bd72da1ffa52ca0cbfab78&quot;,&quot;userAgent&quot;:&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54&quot;,&quot;jsVersion&quot;:&quot;11.1.24.7&quot;}}
2023-03-28T07:57:51.961Z pw:protocol SEND Γû║ {&quot;id&quot;:2,&quot;method&quot;:&quot;Target.setAutoAttach&quot;,&quot;params&quot;:{&quot;autoAttach&quot;:true,&quot;waitForDebuggerOnStart&quot;:true,&quot;flatten&quot;:true}}
2023-03-28T07:57:51.968Z pw:browser [pid=5536][err] [5536:25064:0328/132751.967:ERROR:sitelist_downloader.cc(131)] No primary account. Unable to fetch access token.
2023-03-28T07:57:51.969Z pw:protocol ΓùÇ RECV {&quot;id&quot;:2,&quot;result&quot;:{}}
2023-03-28T07:57:51.985Z pw:protocol SEND Γû║ {&quot;id&quot;:3,&quot;method&quot;:&quot;Target.createBrowserContext&quot;,&quot;params&quot;:{&quot;disposeOnDetach&quot;:true}}
2023-03-28T07:57:51.996Z pw:protocol ΓùÇ RECV {&quot;id&quot;:3,&quot;result&quot;:{&quot;browserContextId&quot;:&quot;EBFA0FAEFFC517F01F3C9513061EDAF2&quot;}}
2023-03-28T07:57:51.998Z pw:protocol SEND Γû║ {&quot;id&quot;:4,&quot;method&quot;:&quot;Browser.setDownloadBehavior&quot;,&quot;params&quot;:{&quot;behavior&quot;:&quot;allowAndName&quot;,&quot;browserContextId&quot;:&quot;EBFA0FAEFFC517F01F3C9513061EDAF2&quot;,&quot;downloadPath&quot;:&quot;C:\\Users\\&lt;User Id&gt;\\AppData\\Local\\Temp\\playwright-artifacts-1fvKAo&quot;,&quot;eventsEnabled&quot;:true}}
2023-03-28T07:57:52.004Z pw:protocol ΓùÇ RECV {&quot;id&quot;:4,&quot;result&quot;:{}}
2023-03-28T07:57:52.026Z pw:protocol SEND Γû║ {&quot;id&quot;:5,&quot;method&quot;:&quot;Target.createTarget&quot;,&quot;params&quot;:{&quot;url&quot;:&quot;about:blank&quot;,&quot;browserContextId&quot;:&quot;EBFA0FAEFFC517F01F3C9513061EDAF2&quot;}}
2023-03-28T07:57:54.127Z pw:browser [pid=5536] &lt;gracefully close start&gt;
2023-03-28T07:57:54.127Z pw:browser [pid=5536] &lt;kill&gt;
2023-03-28T07:57:54.127Z pw:browser [pid=5536] &lt;will force kill&gt;
2023-03-28T07:57:54.234Z pw:browser [pid=5536] taskkill stderr: ERROR: The process &quot;5536&quot; not found.

2023-03-28T07:57:54.235Z pw:browser [pid=5536] &lt;process did exit: exitCode=3221225477, signal=null&gt;
2023-03-28T07:57:54.235Z pw:browser [pid=5536] starting temporary directories cleanup
2023-03-28T07:58:07.306Z pw:browser [pid=5536] finished temporary directories cleanup
2023-03-28T07:58:07.306Z pw:browser [pid=5536] &lt;gracefully close end&gt;
Unhandled exception. Microsoft.Playwright.PlaywrightException: Browser closed.
==================== Browser output: ====================
&lt;launching&gt; C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --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 --no-sandbox --user-data-dir=C:\Users\&lt;User Id&gt;\AppData\Local\Temp\playwright_chromiumdev_profile-yeCyZw --remote-debugging-pipe --no-startup-window
&lt;launched&gt; pid=5536
[pid=5536][err] [5536:25064:0328/132751.967:ERROR:sitelist_downloader.cc(131)] No primary account. Unable to fetch access token.
   at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](String guid, String method, Dictionary`2 dictionary) in /_/src/Playwright/Transport/Connection.cs:line 180
   at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 502
   at Microsoft.Playwright.Core.BrowserContext.NewPageAsync() in /_/src/Playwright/Core/BrowserContext.cs:line 293
   at Microsoft.Playwright.Core.Browser.NewPageAsync(BrowserNewPageOptions options) in /_/src/Playwright/Core/Browser.cs:line 174
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 5
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 7
   at Program.&lt;Main&gt;(String[] args)

C:\src\PlaywrightMSEdge\PlaywrightMSEdge\bin\Debug\net7.0\PlaywrightMSEdge.exe (process 24300) exited with code -532462766."><pre class="notranslate"><code class="notranslate">2023-03-28T07:57:51.753Z pw:browser &lt;launching&gt; C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --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 --no-sandbox --user-data-dir=C:\Users\&lt;User Id&gt;\AppData\Local\Temp\playwright_chromiumdev_profile-yeCyZw --remote-debugging-pipe --no-startup-window
2023-03-28T07:57:51.763Z pw:browser &lt;launched&gt; pid=5536
2023-03-28T07:57:51.764Z pw:protocol SEND Γû║ {"id":1,"method":"Browser.getVersion"}
2023-03-28T07:57:51.960Z pw:protocol ΓùÇ RECV {"id":1,"result":{"protocolVersion":"1.3","product":"Edg/111.0.1661.54","revision":"@9e410ec23a36266fd1bd72da1ffa52ca0cbfab78","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54","jsVersion":"11.1.24.7"}}
2023-03-28T07:57:51.961Z pw:protocol SEND Γû║ {"id":2,"method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true,"flatten":true}}
2023-03-28T07:57:51.968Z pw:browser [pid=5536][err] [5536:25064:0328/132751.967:ERROR:sitelist_downloader.cc(131)] No primary account. Unable to fetch access token.
2023-03-28T07:57:51.969Z pw:protocol ΓùÇ RECV {"id":2,"result":{}}
2023-03-28T07:57:51.985Z pw:protocol SEND Γû║ {"id":3,"method":"Target.createBrowserContext","params":{"disposeOnDetach":true}}
2023-03-28T07:57:51.996Z pw:protocol ΓùÇ RECV {"id":3,"result":{"browserContextId":"EBFA0FAEFFC517F01F3C9513061EDAF2"}}
2023-03-28T07:57:51.998Z pw:protocol SEND Γû║ {"id":4,"method":"Browser.setDownloadBehavior","params":{"behavior":"allowAndName","browserContextId":"EBFA0FAEFFC517F01F3C9513061EDAF2","downloadPath":"C:\\Users\\&lt;User Id&gt;\\AppData\\Local\\Temp\\playwright-artifacts-1fvKAo","eventsEnabled":true}}
2023-03-28T07:57:52.004Z pw:protocol ΓùÇ RECV {"id":4,"result":{}}
2023-03-28T07:57:52.026Z pw:protocol SEND Γû║ {"id":5,"method":"Target.createTarget","params":{"url":"about:blank","browserContextId":"EBFA0FAEFFC517F01F3C9513061EDAF2"}}
2023-03-28T07:57:54.127Z pw:browser [pid=5536] &lt;gracefully close start&gt;
2023-03-28T07:57:54.127Z pw:browser [pid=5536] &lt;kill&gt;
2023-03-28T07:57:54.127Z pw:browser [pid=5536] &lt;will force kill&gt;
2023-03-28T07:57:54.234Z pw:browser [pid=5536] taskkill stderr: ERROR: The process "5536" not found.

2023-03-28T07:57:54.235Z pw:browser [pid=5536] &lt;process did exit: exitCode=3221225477, signal=null&gt;
2023-03-28T07:57:54.235Z pw:browser [pid=5536] starting temporary directories cleanup
2023-03-28T07:58:07.306Z pw:browser [pid=5536] finished temporary directories cleanup
2023-03-28T07:58:07.306Z pw:browser [pid=5536] &lt;gracefully close end&gt;
Unhandled exception. Microsoft.Playwright.PlaywrightException: Browser closed.
==================== Browser output: ====================
&lt;launching&gt; C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --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 --no-sandbox --user-data-dir=C:\Users\&lt;User Id&gt;\AppData\Local\Temp\playwright_chromiumdev_profile-yeCyZw --remote-debugging-pipe --no-startup-window
&lt;launched&gt; pid=5536
[pid=5536][err] [5536:25064:0328/132751.967:ERROR:sitelist_downloader.cc(131)] No primary account. Unable to fetch access token.
   at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](String guid, String method, Dictionary`2 dictionary) in /_/src/Playwright/Transport/Connection.cs:line 180
   at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 502
   at Microsoft.Playwright.Core.BrowserContext.NewPageAsync() in /_/src/Playwright/Core/BrowserContext.cs:line 293
   at Microsoft.Playwright.Core.Browser.NewPageAsync(BrowserNewPageOptions options) in /_/src/Playwright/Core/Browser.cs:line 174
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 5
   at Program.&lt;Main&gt;$(String[] args) in C:\src\PlaywrightMSEdge\PlaywrightMSEdge\Program.cs:line 7
   at Program.&lt;Main&gt;(String[] args)

C:\src\PlaywrightMSEdge\PlaywrightMSEdge\bin\Debug\net7.0\PlaywrightMSEdge.exe (process 24300) exited with code -532462766.
</code></pre></div>
<p dir="auto"><strong>Edge Policies</strong></p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
   &quot;chromeMetadata&quot;: {
      &quot;OS&quot;: &quot;Windows 11 Version 22H2 (Build 22621.1413)&quot;,
      &quot;application&quot;: &quot;Microsoft Edge&quot;,
      &quot;revision&quot;: &quot;9e410ec23a36266fd1bd72da1ffa52ca0cbfab78&quot;,
      &quot;version&quot;: &quot;111.0.1661.54 (Official build) (64-bit)&quot;
   },
   &quot;edgePolicies&quot;: {
      &quot;BrowserSignin&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;user&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: 2
      },
      &quot;ClickOnceEnabled&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: true
      },
      &quot;DoNotSilentlyBlockProtocolsFromOrigins&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: [ {
            &quot;allowed_origins&quot;: [ &quot;teams.microsoft.com&quot;, &quot;http://teams.microsoft.com:8080&quot; ],
            &quot;protocol&quot;: &quot;spotify&quot;
         }, {
            &quot;allowed_origins&quot;: [ &quot;teams.microsoft.com&quot;, &quot;https://.mail.microsoft.com&quot; ],
            &quot;protocol&quot;: &quot;msteams&quot;
         }, {
            &quot;allowed_origins&quot;: [ &quot;*&quot; ],
            &quot;protocol&quot;: &quot;msoutlook&quot;
         } ]
      },
      &quot;ExperimentationAndConfigurationServiceControl&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: 2
      },
      &quot;ExtensionInstallBlocklist&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: [  ]
      },
      &quot;ForceSync&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;user&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: true
      },
      &quot;InternetExplorerIntegrationCloudSiteList&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: &quot;80f5ad94-bb13-4c0c-9fb3-d1920d9cbfaf&quot;
      },
      &quot;InternetExplorerIntegrationLevel&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: 1
      },
      &quot;InternetExplorerIntegrationSiteList&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: &quot;&quot;
      },
      &quot;SleepingTabsBlockedForUrls&quot;: {
         &quot;level&quot;: &quot;recommended&quot;,
         &quot;scope&quot;: &quot;user&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: [ &quot;[*.]microsoft.com&quot;, &quot;[*.]office.com&quot;, &quot;[*.]microsoftonline.com&quot;, &quot;[*.]outlook.com&quot; ]
      },
      &quot;SleepingTabsEnabled&quot;: {
         &quot;level&quot;: &quot;recommended&quot;,
         &quot;scope&quot;: &quot;user&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: true
      },
      &quot;SleepingTabsTimeout&quot;: {
         &quot;level&quot;: &quot;recommended&quot;,
         &quot;scope&quot;: &quot;user&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: 1800
      },
      &quot;SmartScreenEnabled&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: true
      },
      &quot;SmartScreenForTrustedDownloadsEnabled&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: false
      },
      &quot;SmartScreenPuaEnabled&quot;: {
         &quot;level&quot;: &quot;mandatory&quot;,
         &quot;scope&quot;: &quot;machine&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: true
      },
      &quot;StartupBoostEnabled&quot;: {
         &quot;level&quot;: &quot;recommended&quot;,
         &quot;scope&quot;: &quot;user&quot;,
         &quot;source&quot;: &quot;platform&quot;,
         &quot;value&quot;: true
      }
   },
   &quot;extensionPolicies&quot;: {
   },
   &quot;status&quot;: {
      &quot;updater&quot;: {
         &quot;policyDescriptionKey&quot;: &quot;statusUpdater&quot;,
         &quot;timeSinceLastRefresh&quot;: &quot;8 hours ago&quot;,
         &quot;version&quot;: &quot;1.3.173.53&quot;
      },
      &quot;user&quot;: {
      }
   }
}"><pre class="notranslate">{
   <span class="pl-ent">"chromeMetadata"</span>: {
      <span class="pl-ent">"OS"</span>: <span class="pl-s"><span class="pl-pds">"</span>Windows 11 Version 22H2 (Build 22621.1413)<span class="pl-pds">"</span></span>,
      <span class="pl-ent">"application"</span>: <span class="pl-s"><span class="pl-pds">"</span>Microsoft Edge<span class="pl-pds">"</span></span>,
      <span class="pl-ent">"revision"</span>: <span class="pl-s"><span class="pl-pds">"</span>9e410ec23a36266fd1bd72da1ffa52ca0cbfab78<span class="pl-pds">"</span></span>,
      <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>111.0.1661.54 (Official build) (64-bit)<span class="pl-pds">"</span></span>
   },
   <span class="pl-ent">"edgePolicies"</span>: {
      <span class="pl-ent">"BrowserSignin"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">2</span>
      },
      <span class="pl-ent">"ClickOnceEnabled"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">true</span>
      },
      <span class="pl-ent">"DoNotSilentlyBlockProtocolsFromOrigins"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: [ {
            <span class="pl-ent">"allowed_origins"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>teams.microsoft.com<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>http://teams.microsoft.com:8080<span class="pl-pds">"</span></span> ],
            <span class="pl-ent">"protocol"</span>: <span class="pl-s"><span class="pl-pds">"</span>spotify<span class="pl-pds">"</span></span>
         }, {
            <span class="pl-ent">"allowed_origins"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>teams.microsoft.com<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>https://.mail.microsoft.com<span class="pl-pds">"</span></span> ],
            <span class="pl-ent">"protocol"</span>: <span class="pl-s"><span class="pl-pds">"</span>msteams<span class="pl-pds">"</span></span>
         }, {
            <span class="pl-ent">"allowed_origins"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>*<span class="pl-pds">"</span></span> ],
            <span class="pl-ent">"protocol"</span>: <span class="pl-s"><span class="pl-pds">"</span>msoutlook<span class="pl-pds">"</span></span>
         } ]
      },
      <span class="pl-ent">"ExperimentationAndConfigurationServiceControl"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">2</span>
      },
      <span class="pl-ent">"ExtensionInstallBlocklist"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: [  ]
      },
      <span class="pl-ent">"ForceSync"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">true</span>
      },
      <span class="pl-ent">"InternetExplorerIntegrationCloudSiteList"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-s"><span class="pl-pds">"</span>80f5ad94-bb13-4c0c-9fb3-d1920d9cbfaf<span class="pl-pds">"</span></span>
      },
      <span class="pl-ent">"InternetExplorerIntegrationLevel"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">1</span>
      },
      <span class="pl-ent">"InternetExplorerIntegrationSiteList"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>
      },
      <span class="pl-ent">"SleepingTabsBlockedForUrls"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>recommended<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>[*.]microsoft.com<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>[*.]office.com<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>[*.]microsoftonline.com<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>[*.]outlook.com<span class="pl-pds">"</span></span> ]
      },
      <span class="pl-ent">"SleepingTabsEnabled"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>recommended<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">true</span>
      },
      <span class="pl-ent">"SleepingTabsTimeout"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>recommended<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">1800</span>
      },
      <span class="pl-ent">"SmartScreenEnabled"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">true</span>
      },
      <span class="pl-ent">"SmartScreenForTrustedDownloadsEnabled"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">false</span>
      },
      <span class="pl-ent">"SmartScreenPuaEnabled"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>mandatory<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>machine<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">true</span>
      },
      <span class="pl-ent">"StartupBoostEnabled"</span>: {
         <span class="pl-ent">"level"</span>: <span class="pl-s"><span class="pl-pds">"</span>recommended<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"scope"</span>: <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>platform<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"value"</span>: <span class="pl-c1">true</span>
      }
   },
   <span class="pl-ent">"extensionPolicies"</span>: {
   },
   <span class="pl-ent">"status"</span>: {
      <span class="pl-ent">"updater"</span>: {
         <span class="pl-ent">"policyDescriptionKey"</span>: <span class="pl-s"><span class="pl-pds">"</span>statusUpdater<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"timeSinceLastRefresh"</span>: <span class="pl-s"><span class="pl-pds">"</span>8 hours ago<span class="pl-pds">"</span></span>,
         <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.3.173.53<span class="pl-pds">"</span></span>
      },
      <span class="pl-ent">"user"</span>: {
      }
   }
}</pre></div>
<p dir="auto"><strong>Things tried</strong></p>
<ul dir="auto">
<li>Launching with <code class="notranslate">msedge-dev</code> channel</li>
<li>Reinstalling Edge</li>
</ul>
<p dir="auto">Other browsers are working fine.</p>