DownloadDialog Methods

OpenSaveAsFileDialog

Opens the "save as" file dialog. Behavior is different for every browser type. Note: Chrome doesn't have a DownloadDialog, instead opens directly the FileDialog. So this method only returns the FileDialog object, but does not interact with the SUT.

Syntax:

public FileDialog OpenSaveAsFileDialog()

Parameters:

Parameter

Description

username

Type: String The username that shall be used for the authentication.

password

Type: String The password that shall be used for the authentication.

Return Value:

A FileDialog object that allows to save the file to a specific path.

Last updated