![Custom ChatGPT instructions for a .NET developer](/content/images/size/w600/2024/06/Screenshot-2024-06-26-095549.png)
![Custom ChatGPT instructions for a .NET developer](/content/images/size/w600/2024/06/Screenshot-2024-06-26-095549.png)
Setting user-agent for remote chromedriver in Selenium
Setting the user-agent in .net is not straight forward. Using the chrome webdriver directly this can be done using chromeoptions var ios6ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.