private TSelf WaitTill_ElementNotExists_OnIFrame(By by, int timeoutInSeconds, Action <IWebElement> callback = null) { DriverHelpers.Wait_WithCallback(base.IFrameDriver, by, timeoutInSeconds, callback); return(this as TSelf); }
private TSelf WaitTill_ElementNotExists_OnMain(By by, int timeoutInSeconds, Action <IWebElement> callback = null) { DriverHelpers.Wait_WithCallback(base.PrimaryDriver, by, timeoutInSeconds, callback); return(this as TSelf); //return this.Wait_WithCallback(this as T, true, by, timeoutInSeconds, callback); }