Setting User Agent in Puppeteer

I’m working with a library that uses Puppeteer. Is there any way to set the user agent in Puppeteer with a command line argument? I’ve seen the page.setUserAgent trick, but this library only supports arguments.

It’s literally --user-agent lol

not sure if that’s up to date

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.