Skip to content

Commit 950484f

Browse files
committed
fixes
1 parent f6712c8 commit 950484f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

toolium/driver_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ def resize_window(self):
333333
if window_width and window_height:
334334
# for XCUITest >9 compatibility (Appium 2.x)
335335
self.driver.set_window_rect(x=bounds_x, y=bounds_y, width=int(window_width),
336-
height=int(window_height))
336+
height=int(window_height))
337337
self.logger.debug('Window rect: x=%s, y=%s, width=%s, height=%s',
338-
bounds_x, bounds_y, window_width, window_height)
338+
bounds_x, bounds_y, window_width, window_height)
339339
else:
340340
# For maximize, still need to set position first if bounds are specified
341341
if bounds_x != 0 or bounds_y != 0:

0 commit comments

Comments
 (0)