Skip to content

Commit 3dd7cc7

Browse files
committed
Tweak README to include mobile example
1 parent 024dcc8 commit 3dd7cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ If `:mobile` is `true`:
10961096
2. Touch emulation will be enabled, with a maximum of 1 touch point.
10971097

10981098
```ruby
1099-
page.set_viewport(width: 1000, height: 600, scale_factor: 3)
1099+
page.set_viewport(width: 1000, height: 600, scale_factor: 3, mobile: true)
11001100
```
11011101

11021102

0 commit comments

Comments
 (0)