Does anyone know how to resize current browser window using Ruby? I have searched the internet and haven't found any solid solutions. I have the following below, but it is always ignored.
def resizeApplication
@@driver.execute_script("window.resizeTo(500,500);")
end