Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jun 01, 2020 15:32


The following error is thrown when creating an Appium iOS/Android driver using Selenium.WebDriver 3.141.0 and Appium.WebDriver packages in C#:

System.TypeLoadException : VTable setup of type OpenQA.Selenium.Appium.Service.AppiumCommandExecutor failed


This error is thrown when using OpenQA.Selenium.Remote.DesiredCapabilities to instantiate the driver.
The DesiredCapabilities class has been deprecated in Selenium v3.14.0, see Selenium change log at
There are two possible solutions to this issue:

  1. Use the DriverOptions class instead of DesiredCapabilities to instantiate the driver
  2. Downgrade Selenium version to 3.12.0