BrowserSetUserAgentAsync

Parent Previous Next

BrowserSetUserAgentAsync

Description: the method sets the User-Agent value for the browser

Syntax: BrowserSetUserAgent(string value)

Return value: no return value


Example:

await tester.TestBeginAsync();

await tester.BrowserSetUserAgent("my user-agent");

await tester.TestEndAsync();

Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor