コード例 #1
0
 public override void InitialiseDriver(DriverOptions options, int waitSecs)
 {
     try {
         Driver = new SauceryAndroidDriver(options);
         Driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(waitSecs);
     } catch (Exception ex) {
         Console.WriteLine(ex.Message);
     }
 }
コード例 #2
0
 public override void InitialiseDriver(DesiredCapabilities caps, int waitSecs)
 {
     try {
         Driver = new SauceryAndroidDriver(new Uri(SauceryConstants.SAUCELABS_HUB), caps);
         Driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(waitSecs));
     } catch (Exception ex) {
         Console.WriteLine(ex.Message);
     }
 }