Skip to content

Instantly share code, notes, and snippets.

@AdamTReineke
Created May 1, 2015 23:32
Show Gist options
  • Save AdamTReineke/16227d709eaa1403ae26 to your computer and use it in GitHub Desktop.
Save AdamTReineke/16227d709eaa1403ae26 to your computer and use it in GitHub Desktop.
return browser.sleep(1)
.then(function() {
return browser.setWindowSize(500,500);
})
.then(function() {
return browser.sleep(5000);
})
.then(function() {
return browser.setWindowSize(500, 800);
})
.then(function() {
return browser.sleep(5000);
});
@axemclion
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment