public override void TestSetup() { AdditionalCapabilities .AddCapability(nameof(Constants.RS_AppType), ApplicationType.WEB) .AddCapability(MobileCapabilityType.PlatformVersion, "10.0") .AddCapability(nameof(Constants.RS_BrowserName), "Chrome") .AddCapability("showChromedriverLog", "true") .AddCapability(nameof(Constants.RS_DeviceGroup), "Android;Phone;8_1;<yourDeviceId>;chrome") .AddCapability("uiautomator2ServerInstallTimeout", "40000"); base.TestSetup(); }
public override void TestSetup() { AdditionalCapabilities .AddCapability(MobileCapabilityType.DeviceName, "Android") .AddCapability(MobileCapabilityType.FullReset, "false") .AddCapability(MobileCapabilityType.NoReset, "true") .AddCapability(MobileCapabilityType.NewCommandTimeout, "20000") .AddCapability("showChromedriverLog", "true") .AddCapability("DeviceGroup", "Android;Phone;8_1;<yourDeviceId>;chrome") .AddCapability("uiautomator2ServerInstallTimeout", "40000"); base.TestSetup(); }