mobile_helpers.rb 288 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 module MobileHelpers def resize_screen_xs resize_window(767, 768) end def resize_screen_sm resize_window(900, 768) end def restore_window_size resize_window(1366, 768) end def resize_window(width, height) page.driver.resize_window width, height end end