setUserAgent
Overrides the userAgent and acceptLanguages for this session.
The acceptLanguages must a comma separated ordered list of language codes, for example "en-US,fr,de,ko,zh-CN,ja".
This doesn't affect existing WebContents, and each WebContents can use webContents.setUserAgent to override the session-wide user agent.