We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While launch browser, an exception got raised: Method not found: 'PuppeteerSharp.IExecutionContext PuppeteerSharp.IJSHandle.get_ExecutionContext()
var mainHtmlContent = await GetMainTemplateContentAsync(templateViewModel);
await new BrowserFetcher().DownloadAsync();
var launchOptions = new LaunchOptions { Timeout = 50000 }; await using var browser = await Puppeteer.LaunchAsync(launchOptions); <- throws Exception
await using var page = await browser.NewPageAsync(); await page.SetContentAsync(mainHtmlContent); ...
Create browser instance without issues
Exception got raised, method not found.
See exception with versions 13.0.0 to 17.0.0. Version 12.0.0 is working fine Targeting .Net 8
The text was updated successfully, but these errors were encountered:
@jaybee82 can you share the stack trace?
Sorry, something went wrong.
No branches or pull requests
Description
While launch browser, an exception got raised:
Method not found: 'PuppeteerSharp.IExecutionContext PuppeteerSharp.IJSHandle.get_ExecutionContext()
Complete minimal example reproducing the issue
var mainHtmlContent = await GetMainTemplateContentAsync(templateViewModel);
await new BrowserFetcher().DownloadAsync();
var launchOptions = new LaunchOptions
{
Timeout = 50000
};
await using var browser = await Puppeteer.LaunchAsync(launchOptions); <- throws Exception
await using var page = await browser.NewPageAsync();
await page.SetContentAsync(mainHtmlContent);
...
Expected behavior:
Create browser instance without issues
Actual behavior:
Exception got raised, method not found.
Versions
See exception with versions 13.0.0 to 17.0.0. Version 12.0.0 is working fine
Targeting .Net 8
Additional Information
The text was updated successfully, but these errors were encountered: