| Alert クラス |
名前空間: Selenium
Dim instance As Alert
Alert には次のメンバーが定義されています。
| 名前 | 説明 | |
|---|---|---|
| Accept |
Accepts the alert.
| |
| Dismiss |
Dismisses the alert.
| |
| SendKeys |
Sends keys to the alert.
| |
| SetCredentials |
Sets the user name and password in an alert prompting for credentials.
|
Set dlg = driver.SwitchToAlert()
txt = dlg.Text
dlg.Accept