var options = new ChromeOptions();
options.AddArgument("--user-agent=New User Agent");
var driver = new ChromeDriver(options);
driver.Manage().Window
.Size = new System.Drawing.Size(width, height)
driver.Manage().Window