Using desired capabilities seems to be obsolete, can you help me in changing in using chromeoptions as this does not work anymore in latest version of appium. I have tried a lot but to no avail
DesiredCapabilities cap = new DesiredCapabilities();
cap.SetCapability("deviceName", "Galaxy J3");
cap.SetCapability("platformVersion", "5.1.1");
cap.SetCapability("platformName", "Android");
cap.SetCapability("appPackage", "com.softworks.selfservice.app");
cap.SetCapability("appActivity", "com.softworks.selfservice.app.MainActivity");
cap.SetCapability("newCommandTimeout", 150000);
cap.SetCapability("noReset", true);
cap.SetCapability("automationName", "UiAutomator2");
cap.SetCapability(“chromedriverExecutable”, @“C:\MobileAutomation\ChromeDriver\7203626\chromedriver.exe”);
driver = new AndroidDriver<AndroidElement>(new Uri("http://127.0.0.1:4726/wd/hub"), cap);