userAgent property

String? get userAgent

If specified, the string will override the value of the User-Agent HTTP header that's sent while loading the resources of the inspected page. The string will also override the value of the navigator.userAgent property that's returned to any scripts that are running within the inspected page.

Implementation

String? get userAgent => _wrapped.userAgent;
set userAgent (String? v)

Implementation

set userAgent(String? v) {
  _wrapped.userAgent = v;
}