mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
400 B
400 B
sidebar_label
| sidebar_label |
|---|
| Browser.userAgent |
Browser.userAgent() method
Gets this browser's original user agent.
Pages can override the user agent with Page.setUserAgent().
Signature
class Browser {
abstract userAgent(): Promise<string>;
}
Returns:
Promise<string>