| 程序包 | 说明 |
|---|---|
| org.openqa.selenium | |
| org.openqa.selenium.security |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Alert.authenticateUsing(Credentials credentials)
Authenticate an HTTP Basic Auth dialog.
|
void |
Alert.setCredentials(Credentials credentials) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
UserAndPassword
Represents the authentication credentials for a user with username and password
|