252 questions
0
votes
0
answers
23
views
Cannot execute Puppeteer in IIS
I have an ASP.NET Core 8.0 Web API created with C# that provides an endpoint to create PDFs from HTML markup. I use PuppeteerSharp to create the PDF, and it worked fine locally, but it does not work ...
0
votes
0
answers
58
views
Puppeteer is unable to launch a browser on a Windows server [closed]
I am developing an endpoint for a .NET 8.0 API to create a PDF from provided HTML code using PuppeteerSharp. Locally, it works like a charm, but unfortunately, it does not work when the API is ...
1
vote
0
answers
64
views
Puppeteer Sharp not logging in to correct Chrome profile
Good day.
Im working on a project with Puppeteer Sharp where i need to pull data from a website that is locked with Google authentication. I want to open my profile that have been Authenticated. But ...
1
vote
0
answers
41
views
Trying to include input textboxes in a PDF file created with PuppeteerSharp
I've been using PuppeteerSharp in C# code to turn an HTML file into a PDF one automatically, and it works fine (give the method a few customer info details, get a PDF file).
However, we need the PDF ...
2
votes
2
answers
1k
views
Puppeteer: Protocol error (Page.navigate): Invalid referrerPolicy
This has started happening recently and am struggling to work out why. The line:
await page.GoToAsync(fromURL.ToString());
Throws the exception:
MESSAGE:
Protocol error (Page.navigate): Invalid ...
0
votes
0
answers
87
views
How to install Chrome extensions from the Web Store in GoLogin Orbita using Puppeteer Core?
I'm currently using Puppeteer Core to control the GoLogin Orbita browser, and I want to install Chrome extensions.
I know that extensions can be loaded via --load-extension and --disable-extensions-...
4
votes
2
answers
796
views
Is Chrome /json/version feature deprecated?
I used to debug Chrome with PuppeteerSharp. For that, I run Chrome with command:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --profile-directory=&...
1
vote
0
answers
84
views
Azure Function - Linux Docker - Dotnet runtime 8.0 missing
For one of our clients, based on the following blog post, we had to setup a Docker based Azure Function to run puppeteer-sharp. We are trying to run that specific process with the following ...
0
votes
0
answers
84
views
Issue with Puppeteer on a production server
I have this method to generate a pdf using Puppeteer
public async Task<IActionResult> SavePDF(string content)
{
try
{
var browser = await Puppeteer.LaunchAsync(new LaunchOptions
...
0
votes
1
answer
91
views
Puppeteer - Unable to select an input box based on -p-aria and -p-text
I am automating an web application and I need to type in a value in an input text box.
My plan is to develop an friendly function, where in if I pass the label associated with the text , I should be ...
2
votes
3
answers
1k
views
Puppeteer: How to Disable "Change Your Password" (Password Leak Detection) Popup in Chrome?
I am using Puppeteer for browser automation, and I encounter a popup in Chrome that says:
"Change your password. The password you just used was exposed in a data breach. Change it now in Google ...
0
votes
1
answer
135
views
PuppeteerSharp fails to display base64-encoded images in PDF output
I'm using PuppeteerSharp to convert an HTML page to a PDF in my .NET project. While the images are visible when I view the HTML in a browser, they do not appear in the generated PDF. The images are ...
0
votes
1
answer
1k
views
Puppeteer Sharp times out when running via IIS
I'm using PuppeteerSharp (20.0.2) in a .NET 6 Web Api project. It's working beautifully when I run in dev mode, but when I try to deploy to IIS, the call to PdfStreamAsync() times out after three ...
2
votes
0
answers
383
views
Puppeteersharp DownloadAsync fails
I have a website, written in C# and running on .NET 4.8.1 with AngularJS (though that part is not super relevant here).
I'm attempting to use Puppeteersharp to create PDF's on the server and send ...
33
votes
4
answers
15k
views
Chrome 129 Headless shows blank window
Today, I updated the Chrome browser to the latest version (129). After the update, running Chrome in headless mode produces an unusual result: a blank white window appears, matching the size of the ...