Maximize browser on start

stable
David Barragán Merino 2015-07-31 11:39:30 +02:00 committed by Juanfran
parent 513ef7efa7
commit be3efab07d
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ exports.config = {
full: 'e2e/full/**/*.e2e.js'
},
onPrepare: function() {
browser.driver.manage().window().maximize();
browser.getCapabilities().then(function (cap) {
browser.browserName = cap.caps_.browserName;
});