Skip to content

Issue with page navigation in 20.0.3 #2812

@400ochkov

Description

@400ochkov

Hello, I have updated PuppeteerSharp to 20.0.3 recently and faced issue with navigation to url. I use this code:

var navigationTask = page.WaitForNavigationAsync(new NavigationOptions
{
    Referer = referer,
    WaitUntil = new[] { WaitUntilNavigation.Networkidle0 },
    Timeout = 40000 
});
await page.GoToAsync(link);
try
{
    await navigationTask;
}
catch
{
}

and sometimes nothing happen, not even single try to load page, just default chrome page. If reconnect to browser and try again it can make navigation. But sometimes everything work properly without reconnection. I have not any idea what is wrong...

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