Beispiel #1
0
 /// <summary>
 /// The default get appium driver function
 /// </summary>
 /// <returns>The appium driver</returns>
 protected virtual AppiumDriver <IWebElement> GetMobileDevice()
 {
     return(AppiumDriverFactory.GetDefaultMobileDriver());
 }
Beispiel #2
0
        public static AppiumDriver <IWebElement> MobileDevice(string platformName)
        {
            PlatformType type = GetDeviceType(platformName);

            return(AppiumDriverFactory.GetDefaultMobileDriver(type));
        }