Contents

customUserAgent

The custom user agent string.

Declaration

@MainActor final var customUserAgent: String? { get set }

Discussion

Use this property to specify a custom user agent string for the webpage.

The default value of this property is nil.

See Also

Inspecting page information