Skip to content

Commit

Permalink
issue rubycdp#116: add example of 'Browser#position' into README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifrill committed Feb 26, 2021
1 parent 007f2fc commit b63fa61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -234,6 +234,12 @@ browser.go_to("https://github.com/")
browser.stop
```

#### position

Set the position for the browser window bounds

browser.position = { left: 10, top: 20 }
browser.position `# => [10, 20]`

## Finders

Expand Down

0 comments on commit b63fa61

Please sign in to comment.