After changing the UserAgent in the BeforeRequestLoad event, it was found that the result of webView.EvalScript("navigator.userAgent") has not changed, but the network request in the debugging console has changed.
Code: C#
private void webView1_BeforeRequestLoad(object sender, BeforeRequestLoadEventArgs e)
{
e.Request.Headers["User-Agent"] = "test";
}
How do I get a new UserAgent?