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); } }
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); } }