forked from florentbr/SeleniumBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_Alerts.cs
More file actions
29 lines (20 loc) · 850 Bytes
/
_Alerts.cs
File metadata and controls
29 lines (20 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-B51CB7C5A694")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _Alert {
[DispId(10), Description("Dismisses the alert.")]
void Dismiss();
[DispId(14), Description("Accepts the alert.")]
void Accept();
[DispId(24), Description("Sends keys to the alert.")]
void SendKeys(string keysToSend);
[DispId(43), Description("Gets the text of the alert.")]
string Text { get; }
[DispId(54), Description("Sets the user name and password in an alert prompting for credentials.")]
Alert SetCredentials(string user, string password);
}
}