MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / SetUserAgentOverride

Method SetUserAgentOverride

dotnet/src/webdriver/DevTools/Network.cs:77–80  ·  view source on GitHub ↗

Asynchronously sets the override of the user agent string. The user agent string to set. A task that represents the asynchronous operation.

(string userAgent)

Source from the content-addressed store, hash-verified

75 /// <param name="userAgent">The user agent string to set.</param>
76 /// <returns>A task that represents the asynchronous operation.</returns>
77 public async Task SetUserAgentOverride(string userAgent)
78 {
79 await SetUserAgentOverride(new UserAgent(userAgent)).ConfigureAwait(false);
80 }
81
82 /// <summary>
83 /// Asynchronously sets the override of the user agent settings.

Calls

no outgoing calls