Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationException: 'Timeout of 30000 ms exceeded' with Firefox #2758

Open
Mbaspfd opened this issue Sep 1, 2024 · 2 comments
Open

NavigationException: 'Timeout of 30000 ms exceeded' with Firefox #2758

Mbaspfd opened this issue Sep 1, 2024 · 2 comments

Comments

@Mbaspfd
Copy link

Mbaspfd commented Sep 1, 2024

When trying to open any site in Firefox I always get the Exception TimeoutError: Navigation timeout of 30000 ms exceeded.
Although a site is fully loaded.

Puppeteer-sharp v19.0.2 and .NET 8.0

My code:

var browserFetcher = new BrowserFetcher(SupportedBrowser.Firefox);
await browserFetcher.DownloadAsync();
var launchOptions = new LaunchOptions()
{
    Browser = SupportedBrowser.Firefox,
    Headless = false,
    DefaultViewport = null
};

var browser = await Puppeteer.LaunchAsync(launchOptions);
var page = (await browser.PagesAsync())[0];
await page.GoToAsync("https://google.com");
@kblok
Copy link
Member

kblok commented Sep 1, 2024

Issue confirmed. Taking a look at it.

@kblok
Copy link
Member

kblok commented Sep 2, 2024

Unfortunately. It seems that it's an issue on Firefox. And they won't fix that on CDP. You'll have to wait till I implement WebDriver BiDi support.

See upstream issues puppeteer/puppeteer#13018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants