private long GetImplicitWait() { if (Driver.ImplictWait.HasValue) { return(Driver.ImplictWait.Value.Seconds); } return(Driver.Manage().Timeouts().ImplicitWait.Seconds); }
public static void Setup(TestContext testContext) { var options = new OperaOptions(); options.BinaryLocation = OperaBinary; Driver = new QxWebDriver(new OperaDriver(options)); Driver.Manage().Window.Maximize(); Cache.Clear(); WisejTests.Driver = Driver; #if !DEBUGJS Driver.Url = "http://localhost:7185/Default.html"; #else Driver.Url = "http://localhost:7185/Debug.html"; #endif }