Fix implementation of resize_window for Selenium
This commit is contained in:
parent
09baadca34
commit
50701b58bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue