public void ClickAndWaitWhileAjax(int sleepTimeout = 0, bool ajaxInevitable = false) { Log.Action($"Click '{ComponentName} button'"); Action.ClickAndWaitWhileAjax(By, FrameBy, sleepTimeout, ajaxInevitable); }
public void Click(int sleepTimeout = 0) { Log.Action($"Click by icon '{ComponentName}'"); Action.Click(By, FrameBy, sleepTimeout); }
public void ClickAndWaitForRedirect(bool waitForAjax = false, bool ajaxInevitable = false) { Log.Action($"Click '{ComponentName} button'"); Action.ClickAndWaitForRedirect(By, FrameBy, waitForAjax, ajaxInevitable); }
public virtual void SelectAndWaitWhileAjax(int sleepTimeout = 0, bool ajaxInevitable = false) { Log.Action($"Select '{ComponentName}' radiobutton"); Select(sleepTimeout); Wait.WhileAjax(ajaxInevitable: ajaxInevitable); }
public virtual void Select(int sleepTimeout = 0) { Log.Action($"Select '{ComponentName}' radiobutton"); Click(sleepTimeout); }
/// <summary> /// Find the letter with the specified header on the specified mailbox. /// Open the text of the message in the browser /// </summary> /// <summary> /// Back to previous page /// </summary> public void Back() { Driver.Navigate().Back(); Log.Action($"Go.Back(). Result Url: {Driver.Url}"); Browser.State.Actualize(); }
public void Refresh() { Log.Action($"Refresh page {Driver.Url}"); Driver.Navigate().Refresh(); Browser.State.Actualize(); }
public void ClickAndWaitWhileProgress() { Log.Action($"Click '{ComponentName}' button"); Action.ClickAndWaitWhileProgress(By, FrameBy, 1000); }
public void MouseOver(int sleepTimeout = 0) { Log.Action($"Hover cursor on '{ComponentName}' button"); Action.MouseOver(By, FrameBy, sleepTimeout); }
public void DragByHorizontal(int pixels) { Log.Action($"Drag '{ComponentName}' at {pixels} pixels"); Action.DragHorizontally(By, pixels); }
public void ClickAndWaitForAlertOrRedirect(bool waitForAjax, bool ajaxInevitable) { Log.Action($"Click '{ComponentName}' button"); Action.ClickAndWaitForAlertOrRedirect(By, FrameBy, waitForAjax, ajaxInevitable); }
public void ClickAndWaitForState(Func <bool> checkState) { Log.Action($"Click the fake link '{ComponentName}'"); Action.ClickAndWaitForState(By, checkState); }
public void ClickAndWaitWhileAjax(bool ajaxInevitable = false) { Log.Action($"Click '{ComponentName}' link"); Action.ClickAndWaitWhileAjax(By, FrameBy, ajaxInevitable: ajaxInevitable); }
public override void Click(int sleepTimeout = 0) { Log.Action($"Click '{ComponentName}' link"); Action.ClickAndWaitForRedirect(By, FrameBy); }
public void ClickAndWaitForNewWindow(int sleepTimeout = 0) { Log.Action($"Click by '{ComponentName}' and wait new browser window"); Action.ClickAndWaitNewWindow(RootSelector, FrameBy, sleepTimeout); }
public override void Click(int sleepTimeout = 0) { Log.Action($"Click by {ComponentName}."); Action.Click(RootSelectorNew); }