private void DriverQuit() { _appiumMetaPilot?.DriverQuit(); _appiumMetaPilot = null; }
public bool StartDevice(DeviceTarget deviceTarget, string packagePath, string appiumHost, int appiumPort, string aaptPath) { _appiumMetaPilot = new AppiumMetaPilot(deviceTarget, packagePath, appiumHost, appiumPort, aaptPath); return(!(_appiumMetaPilot == null || (_appiumMetaPilot != null && _appiumMetaPilot.AppiumDriver == null))); }