You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varplaywright=awaitPlaywright.CreateAsync();varchromeLaunchOptions=newBrowserTypeLaunchOptions{ChromiumSandbox=false,// <-- This is the problem.};varchrome=awaitplaywright.Chromium.LaunchAsync(chromeLaunchOptions);
Describe the bug
On the call to LaunchAsync when using BrowserTypeLaunchOptions that sets the ChromiumSandbox value(true or false), the following exception is thrown:
Microsoft.Playwright.PlaywrightException: slowMo: expected number, got boolean
at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](ChannelOwner object, String method, Dictionary`2 dictionary, Boolean keepNulls) in /_/src/Playwright/Transport/Connection.cs:line 208
at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 538
at Microsoft.Playwright.Core.BrowserType.LaunchAsync(BrowserTypeLaunchOptions options) in /_/src/Playwright/Core/BrowserType.cs:line 56
Simply rolling back to 1.40.0 makes this code work again.
Basic console app:
The text was updated successfully, but these errors were encountered:
brutaldev
changed the title
[REGRESSION]: Cannot launch Chromium because of error "slowMo: expected number, got boolean"
[REGRESSION]: Cannot set ChromiumSandbox launch option because of error "slowMo: expected number, got boolean"
Jan 18, 2024
Context:
Code Snippet
Describe the bug
On the call to
LaunchAsync
when usingBrowserTypeLaunchOptions
that sets theChromiumSandbox
value(true or false), the following exception is thrown:Simply rolling back to 1.40.0 makes this code work again.
Basic console app:
The text was updated successfully, but these errors were encountered: