You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,8 +73,7 @@ Method | Description
73
73
`driver.switchToDefaultFrame()` | Change focus to default content on the page.
74
74
`driver.switchToFrame(indexOrNameOrId)` | Change focus to another frame on the page.
75
75
`driver.getCurrentWindowHandle()` | Retrieve the current window handle.
76
-
`driver.switchToWindow(name)` | Change focus to another window. The window to change focus to may be specified by its
77
-
server assigned window handle, or by the value of its `name` attribute.
76
+
`driver.switchToWindow(name)` | Change focus to another window. The window to change focus to may be specified by its server assigned window handle, or by the value of its `name` attribute.
78
77
`driver.closeWindow()` | Close the current window.
79
78
`driver.getWindowSize(windowHandle)` | Get the size of the specified window. If no `windowHandle` in specified the current window is assumed. Returns an object with `width` and `height` values.
80
79
`driver.setWindowSize(width, height, windowHandle)` | Change the size of the specified window. If no `windowHandle` in specified the current window is assumed.
0 commit comments