puppeteer/website/versioned_docs/version-9.1.1/puppeteer.browser.useragent.md
2021-08-10 11:09:48 +01:00

503 B

Home > puppeteer > Browser > userAgent

Browser.userAgent() method

The browser's original user agent. Pages can override the browser user agent with Page.setUserAgent().

Signature:

userAgent(): Promise<string>;

Returns:

Promise<string>