When calling puppeteer in nodejs language, you want to set the language and country of the browser to French-Canada.
Configure “–lang=fr-CA” in the “args” of “launch” in the code, only the language becomes French, but the language setting of the browser is not Canada. Is there a similar problem? how should I solve it? ask for advice.
Code
The current effect
Desired effect
New contributor
I A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.