So for a web app that I'm working on, I'm using Protractor JS to test it - I'm writing it in the mobile-first style, so resizing shouldn't be an issue. Is there a way to get it to tests multiple sizes without huge amounts of repeated code? Writing a test repeated multiple times different sizing using a
browser.driver.manage().window().setSize(x, y);
with multiple values of x and y seems pretty inefficient, but I'm not sure I can think of something better?