Skip to content

Commit 7c742e1

Browse files
wanghongjuanrogerwang
authored andcommitted
[test] Update test.py to fix 6113 test
- Update method switch_to.window to switch_to_window
1 parent 1fef7fa commit 7c742e1

File tree

1 file changed

+1
-1
lines changed
  • test/sanity/issue6113-mac-create-crash

1 file changed

+1
-1
lines changed

test/sanity/issue6113-mac-create-crash/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
wait_window_handles(driver, 2)
2323
handles = driver.window_handles
2424
print handles
25-
driver.switch_to.window(handles[1])
25+
driver.switch_to_window(handles[1])
2626
output = driver.current_url
2727
print output
2828
print 'waiting for crash'

0 commit comments

Comments
 (0)