Skip to content

Commit c9684a0

Browse files
unknownunknown
authored andcommitted
Renamed SetAuthenticationCredentials by SetCredentials
1 parent 98fa0d4 commit c9684a0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Selenium/ComInterfaces/_Alerts.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public interface _Alert {
2222
string Text { get; }
2323

2424
[DispId(54), Description("Sets the user name and password in an alert prompting for credentials.")]
25-
void SetAuthenticationCredentials(string user, string password);
25+
void SetCredentials(string user, string password);
2626

2727
}
2828

Selenium/Common/Alert.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void SendKeys(string keysToSend) {
9090
/// </summary>
9191
/// <param name="user">User name</param>
9292
/// <param name="password">Password</param>
93-
public void SetAuthenticationCredentials(string user, string password){
93+
public void SetCredentials(string user, string password){
9494
_session.Send(RequestMethod.POST, "/alert/credentials", "username", user, "password", password);
9595
}
9696

0 commit comments

Comments
 (0)