Skip to main content

Getting error when trying to run chrome driver on .net core 3.1


1 comment

  • Steve Collyer

    An update on this.

    I have managed to get it working, but still not 100% why I am having to do it.

    I have now created a new beforeScenario when I am setting the CHROME_WEBDRIVER_FILE_PATH environment variable. 

            public void SetChromeDriverPath()
                Environment.SetEnvironmentVariable("CHROME_WEBDRIVER_FILE_PATH", Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase)



    Again any guidance on why I am having to do this and/or a better way would be appreciated.



Please sign in to leave a comment.

Powered by Zendesk