Skip to content

[Question]: Codegen Timeout In Playwright Version 1.20.1 , Net6.0 #13553

@yangbocheng

Description

@yangbocheng

Your question

I have a question about codegen, when i use "pwsh .\playwright.ps1 codegen" or "playwright codegen" , allways failed because of Timeout in Version 1.20.1
image
image

I don't know how to deal with it.
//here is info
But if run codegen with playwright - 1.17.3 , chorme will start and record operation correctly after 10s.
And if i test playwright in c#code, then chorme auto start correctly both in version 1.17.3 and 1.20.1

await using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions
{
      Headless = false,
});
//other codes....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions