Class
EdgeDownloadCompleteNotificationBar

Handler for Edge download complete notification bar.

Definition

Namespace:ArtOfTest.WebAii.Win32.Dialogs.Download

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class EdgeDownloadCompleteNotificationBar : DownloadNotificationBar, IDialog

Inheritance: objectBaseDialogDownloadNotificationBarEdgeDownloadCompleteNotificationBar

Implements: IDialog

Inherited Members DownloadNotificationBar.NotificationBarDownloadNotificationBar.GetCancelButton(AutomationElement)DownloadNotificationBar.GetCloseButton(AutomationElement)DownloadNotificationBar.GetDismissButton(AutomationElement)DownloadNotificationBar.GetNotificationBar(AutomationElement)DownloadNotificationBar.GetNotificationBarText(AutomationElement)DownloadNotificationBar.GetOpenButton(AutomationElement)DownloadNotificationBar.GetRunButton(AutomationElement)DownloadNotificationBar.GetSaveButton(AutomationElement)DownloadNotificationBar.GetOpenFolderButton(AutomationElement)DownloadNotificationBar.GetViewDownloadsButton(AutomationElement)DownloadNotificationBar.GetSaveAsButton(AutomationElement)BaseDialog.m_browserVersionMajorBaseDialog.ValidatePid(int)BaseDialog.ValidateReadFileAccess(string, string, out string)BaseDialog.ValidatePaths(string, out string)BaseDialog.GetFilePaths(string)BaseDialog.SetDialogWindow(Window)BaseDialog.IsDialogActiveByTitle(WindowCollection, string)BaseDialog.IsDialogActiveByTitle(WindowCollection, string, bool)BaseDialog.IsRejectedViaRegexOrExactMatch(string, object)BaseDialog.IsDialogActiveByTitleAndTextContent(WindowCollection, string, bool, string)BaseDialog.ToString()BaseDialog.ResetHandleCount()BaseDialog.WaitUntilHandled(int)BaseDialog.WaitUntilHandled()BaseDialog.WaitUntilHandled(int, int, bool)BaseDialog.WaitUntilAnyHandled(IEnumerable<BaseDialog>, int, long, bool)BaseDialog.OnBeforeHandle(EventArgs)BaseDialog.ParentBrowserBaseDialog.ErrorTextBaseDialog.CurrentStateBaseDialog.WindowBaseDialog.HandleCountBaseDialog.HandlerDelegateBaseDialog.DismissButtonBaseDialog.SkipHandlingBaseDialog.TagsBaseDialog.InitializationTimeBaseDialog.BeforeHandle

Constructors

EdgeDownloadCompleteNotificationBar(Browser, DialogButton)

Create a new instance of EdgeDownloadCompleteNotificationBar class.

Declaration

cs-api-definition
public EdgeDownloadCompleteNotificationBar(Browser parentBrowser, DialogButton dismissButton)

Parameters

parentBrowser

Browser

The parent browser.

dismissButton

DialogButton

The dismiss button.

Methods

Handle()

Handle the dialog. If HandlerDelegate is set, use the delegate

Declaration

cs-api-definition
public override void Handle()

Overrides DownloadNotificationBar.Handle()

IsDialogActive(WindowCollection)

Detect whether this dialog is active or not. Mostly used for HWND-based controls, such as top-level windows.

Declaration

cs-api-definition
public override bool IsDialogActive(WindowCollection dialogs)

Parameters

dialogs

WindowCollection

The list of all dialogs.

Returns

bool

True/False whether this dialog is active or not.

Overrides DownloadNotificationBar.IsDialogActive(WindowCollection)

MatchesUIAutomationElement(AutomationElement)

Matches UI automation element.

Declaration

cs-api-definition
public override bool MatchesUIAutomationElement(AutomationElement element)

Parameters

element

AutomationElement

The element to check against.

Returns

bool

Overrides BaseDialog.MatchesUIAutomationElement(AutomationElement)