Today I will talk about the User Agent difference when we running Puppeteer in headless and headful mode.
For people not familiar with Puppeteer, ...
For further actions, you may consider blocking this person and/or reporting abuse
Hi everyone,
I am using Puppeteer library in NodeJS for runtime PDF file generation. It works fine on my local system, but when I deploy my app on a cPanel Based CentOs Os server, it throws an error. Any solution would be appreciated.
There must be other altered behaviours too. Some tests were not working in headless mode, after developping them with browser display.
ic ic, thanks for the info
Hi I wanted to know how to change the cdc variable to go undetected from the message of "chrome is controlled by an automation software". No idea if the site detected...
Hi Rudra, thanks for the question. Actually I still have no idea about it as well. But any use case for you to hide that thing?
I found this link help.applitools.com/hc/en-us/artic... that maybe related to it?
Thank you.
That's perfect dude! Thank you!
Hello sir,
could you help me please?
I would like to load random useragent for each page lunch.
How do i do that?
Example:
page.setUserAgent('/utils/referers.txt');
thank you
I would have a variable called userAgents that is an array of user agent strings then do something like
await page.setUserAgent(userAgents[Math.floor(Math.random()*userAgents.length)]);
I logged in just to add like to this comment
thank you :)
Nice article, thanks