I upgraded selenium package from 3.141.0 to 4.2.0. now I am getting the issue while I am trying to run the functional tests. below is the error which I am getting:
System.TypeLoadException : Could not load type 'OpenQA.Selenium.Remote.IHasSessionId' from assembly 'WebDriver, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'.
strange thing is if I run the single functional test it is running successfully.
packages used in project:
- Selenium :4.2.0
- Selenium.Support:4.2.0
- Selenium.WebDriver.ChromeDriver: 102.0.5005.6102
- xunit: 2.4.5