My C# code looks like this for creating chrome web driver, i wanted to add the custom HTTP headers to all my http requests.
ex: user-agent : Android
var service = ChromeDriverService.CreateDefaultService(@"c:\Chrome\"); var option = new ChromeOptions(); _driver = new ChromeDriver(service, option);
We have the way for firefox, as the link shows, but for chrome it does not work. https://eveningsamurai.wordpress.com/2013/11/21/changing-http-headers-for-a-selenium-webdriver-request/
Any help appreciated