setUserAgent

fun setUserAgent(userAgent: String? = null)

Set the #WebKitSettings:user-agent property.

Parameters

userAgent

The new custom user agent string or null to use the default user agent