Browser.userAgent() method
Gets this browser's original user agent.
Pages can override the user agent with Page.setUserAgent().
Signature:
class Browser {
userAgent(): Promise<string>;
}
Returns:
Promise<string>
Gets this browser's original user agent.
Pages can override the user agent with Page.setUserAgent().
class Browser {
userAgent(): Promise<string>;
}
Returns:
Promise<string>