ClassSafariDownloadDialog
Handles all the unique file download dialogs that appear under the Safari browser.
Definition
Namespace:ArtOfTest.WebAii.Win32.Dialogs
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class SafariDownloadDialog : BaseDialog, IDialog
Inheritance: objectBaseDialogSafariDownloadDialog
Implements:
Inherited Members
Constructors
SafariDownloadDialog(Browser, DialogButton, Desktop)
Constructs a new SafariDownloadDialog object.
Declaration
public SafariDownloadDialog(Browser parentBrowser, DialogButton dismissButton, Desktop desktop)
Parameters
parentBrowser
The browser object initiating the download.
dismissButton
Which button of the download dialog to click to dismiss the dialog.
desktop
The desktop object used to search for Win32 windows.
Methods
Handle()
Handles an open download dialog window according to the properties set on this object.
Declaration
public override void Handle()
Overrides
IsDialogActive(WindowCollection)
Determines whether or not one of the download dialog windows is currently open.
Declaration
public override bool IsDialogActive(WindowCollection dialogs)
Parameters
dialogs
The collection of Win32 windows to search for.
Returns
True if one of the specified windows was found on the desktop and is attached to this browser.
Overrides