Skip to content

Commit bf45140

Browse files
page on iOS now takes window number
The number can be any int >= 0. Examples: page 0 # regular app page page 1 # wifi page 2 # alerts Fix #88
1 parent cb38755 commit bf45140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/appium_lib/ios/helper.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ def fix_space s
151151

152152
# Prints a string of interesting elements to the console.
153153
# @return [void]
154-
def page
155-
get_page
154+
def page window_number = 0
155+
get_page source_window window_number || 0
156156
nil
157157
end
158158

0 commit comments

Comments
 (0)