| AlertSetCredentials Method |
Sets the user name and password in an alert prompting for credentials.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As Alert
Dim user As String
Dim password As String
Dim returnValue As Alert
returnValue = instance.SetCredentials(user,
password)
Parameters
- user
- Type: SystemString
User name - password
- Type: SystemString
Password
Return Value
Type:
Alert
See Also