Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit df29355

Browse files
authored
Merge pull request #47 from w0rse/docs-newline-fix
fix: wrong newline in methods docs
2 parents f662b31 + c2c0265 commit df29355

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ Method | Description
7373
`driver.switchToDefaultFrame()` | Change focus to default content on the page.
7474
`driver.switchToFrame(indexOrNameOrId)` | Change focus to another frame on the page.
7575
`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.
7877
`driver.closeWindow()` | Close the current window.
7978
`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.
8079
`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

Comments
 (0)