Skip to content

Azure DevOps Support

Jakub Raczek edited this page Apr 29, 2019 · 2 revisions

From Microsoft:

When using the Microsoft-hosted agent, you should use the Selenium web drivers that are pre-installed on the Windows agents (agents named Hosted VS 20xx) because they are compatible with the browser versions installed on the Microsoft-hosted agent images. The paths to the folders containing these drivers can be obtained from the environment variables named IEWebDriver (Internet Explorer), ChromeWebDriver (Google Chrome), and GeckoWebDriver (Firefox). For example, driver = new ChromeDriver(Environment.GetEnvironmentVariable("ChromeWebDriver"));

In app.config file set a value of Environment.GetEnvironmentVariable(“ChromeWebDriver”) as <add key="PathToChromeDriverDirectory" value=""/>

Clone this wiki locally