System.TypeLoadException : Access is denied: 'OpenQA.Selenium.Remote.DesiredCapabilities'

Hello,I am getting “System.TypeLoadException : Access is denied: ‘OpenQA.Selenium.Remote.DesiredCapabilities’” Exception while using Selenium 4.1.0 with Appium 4.3.1 for .NET project on Android app. Can anyone suggest the solution??

Looks like it’s a bug in the .NET driver. Only solution is to go back to Selenium < 3.141. You may need to experiment with earlier versions of Selenium if you choose to go that route:

Hi…is there any workaround if this has to be move forward with Selenium 4.1.0?