Closed jaro0197 closed 2 years ago
@jaro0197 Can you try launching without --disable-extensions
default flag that we use?
using Microsoft.Playwright;
using System.Threading.Tasks;
class Program
{
public static async Task Main()
{
using var playwright = await Playwright.CreateAsync();
await using var browser = await playwright.Chromium.LaunchAsync(new() { IgnoreDefaultArgs = new[] { "--disable-extensions" });
var page = await browser.NewPageAsync();
await page.GotoAsync("https://playwright.dev/dotnet");
await page.ScreenshotAsync(new PageScreenshotOptions { Path = "screenshot.png" });
}
}
Since my triaging rotation is over, I'll close this as per above.
Please feel free to file a new issue if you think we still can be helpful to you!
Context:
Code Snippet
Bug description
The tests are stuck with Chromium open with no further actions. and i get following error (running with
set DEBUG=pw:browser,pw:protocol
):Running with Firefox browser the test is working fine. I found similiar issue, but in this case the firefox browser stuck: https://github.com/microsoft/playwright-java/issues/1001 I also tried other version of Chrome (beta, developer) and Playwright but outcome was the same.
When the browser is opened I get also this message: but idk if this can be related with my issue. On basic/beta chrome this message is not appear and test also is failing.