puppeteer-sharp
puppeteer-sharp copied to clipboard
Headless Chrome .NET API
### Description PuppeteerSharp leads to the following [trim warnings](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/fixing-warnings) when publishing dependent project with PublishTrimmed = true: ``` 3>PuppeteerSharp.BindingUtils.d__3.MoveNext(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The...
We use Newtonsoft.Json package to serialize/deserialize json. It is great library. But seems json is becoming built-in format in BCL (.net 6). In future it allow us to be not...
Hello, I have a .NET 7 project using Puppeteer 12.0.0 in a Windows environment. Here is how I launch my browser: ``` var launchOptions = new LaunchOptions { ExecutablePath =...
We are using PuppeteerSharp v13.0.1(.NET 6 web app ) for connecting to a remote chromium browser (it runs in a docker container in Azure, browserless/chrome:latest) navigating to multiple URLs in...
### Description Visual Studio 2022 breaks on an unhandled WebSocketException when browser.CloseAsync() is called. This only happens on .NET 8. When using .NET 6 there is no exception. I got...
https://github.com/hardkoded/puppeteer-sharp/blob/0c9362c830d86765119e72fc7a58fef528bcbd07/lib/PuppeteerSharp/BrowserFetcher.cs#L416C1-L417C1 `archiveName` is chrome-linux64.zip folder after extract is without `.zip` but `execPath` contains `archiveName` so `execPath` is `[project folder]/bin/Debug/netcoreapp3.1/Chrome/Linux-119.0.6045.105/chrome-linux64.zip/chrome` but extractet path in file system is `[project folder] /bin/Debug/netcoreapp3.1/Chrome/Linux-119.0.6045.105/chrome-linux64/chrome` then...
See https://github.com/puppeteer/puppeteer/pull/9364
Two pictures to illustrate: With Chrome:  With Headless Chrome:  Same with Firefox. That's on Debian if it makes a difference. I wonder if there is an issue when...
### Discussed in https://github.com/hardkoded/puppeteer-sharp/discussions/2063 Originally posted by **DimitarKrastev** January 9, 2023 In the usual case it is kind of straight forward how to deal with puppeteer sharp IBrowser. Tabs and...
See [upstream](https://github.com/puppeteer/puppeteer/pull/10305/files). See also: * [10737](https://github.com/puppeteer/puppeteer/pull/10737)