Skip to content

Commit 43b2bb4

Browse files
committed
[test] fix window-resizeto
1 parent 991a116 commit 43b2bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sanity/window-resizeto/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
wait_window_handles(driver, 2)
2020
print 'switch to opened window'
2121
driver.switch_to_window(driver.window_handles[-1])
22-
result = driver.find_element_by_id('yellow').get_attribute('innerHTML')
22+
result = wait_for_element_id(driver, 'yellow')
2323
print 'window size: %s' % result
2424
assert('200, 300' in result)
2525
driver.switch_to_window(driver.window_handles[0])

0 commit comments

Comments
 (0)