| 程序包 | 说明 |
|---|---|
| org.openqa.selenium | |
| org.openqa.selenium.support.ui |
| 限定符和类型 | 方法和说明 |
|---|---|
Alert |
WebDriver.TargetLocator.alert()
Switches to the currently active modal dialog for this particular driver instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ExpectedCondition<Alert> |
ExpectedConditions.alertIsPresent() |