Skip to content

Commit 0486ca7

Browse files
committed
issue #116: add example of 'Browser#position' into README.md
1 parent 007f2fc commit 0486ca7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,14 @@ browser.go_to("https://github.com/")
234234
browser.stop
235235
```
236236

237+
#### position
238+
239+
Set the position for the browser window bounds
240+
241+
```ruby
242+
browser.position = { left: 10, top: 20 }
243+
browser.position # => [10, 20]
244+
```
237245

238246
## Finders
239247

0 commit comments

Comments
 (0)