| Window クラス |
名前空間: Selenium
Dim instance As Window
Window には次のメンバーが定義されています。
| 名前 | 説明 | |
|---|---|---|
| Activate |
Change focus to this window.
| |
| Close |
現在のウィンドウを閉じます。
| |
| Equals |
指定したインスタンスが等しいとみなされるかを判定します。
(Overrides ObjectEquals(Object).) | |
| FullScreen |
Set the current window full screen.
| |
| GetHashCode |
ハッシュコードを返します。
(Overrides ObjectGetHashCode.) | |
| Maximize |
Maximizes the current window if it is not already maximized.
| |
| Position |
Gets the position of the browser window relative to the upper-left corner of the screen.
| |
| SetPosition |
Sets the position of the browser window relative to the upper-left corner of the screen.
| |
| SetSize |
Sets the size of the outer browser window, including title bars and window borders.
| |
| Size |
Gets the size of the outer browser window, including title bars and window borders.
| |
| SwitchToNextWindow |
Switch to the next available window
| |
| SwitchToPreviousWindow |
Switch to the previous focused window.
| |
| SwitchToWindowByName |
Change focus to another window.
| |
| SwitchToWindowByTitle |
Change focus to another window.
|
Set win1 = driver.Window
driver.SwitchToNextWindow().Close
win1.Activate();
txt = dlg.Text
dlg.Accept