Skip to content

Commit 4fbf0fb

Browse files
Add landscape and portrait rotate examples
1 parent c6d4353 commit 4fbf0fb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/docs.md

+7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ last_image = find_elements(:tag_name, :ImageView).last
3232
mobile(:longClick, element: last_image.ref)
3333
```
3434

35+
Rotate examples.
36+
37+
```ruby
38+
driver.rotate :landscape
39+
driver.rotate :portrait
40+
```
41+
3542
--
3643

3744
Tag Name | UIA

0 commit comments

Comments
 (0)