Commit 50701b58 authored by Stan Hu's avatar Stan Hu

Fix implementation of resize_window for Selenium

parent 09baadca
......@@ -12,6 +12,6 @@ module MobileHelpers
end
def resize_window(width, height)
page.driver.resize_window width, height
Capybara.current_session.current_window.resize_to(width, height)
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment