UNPKG

cucumber-protractor

Version:

POM CukeTractor - Bootstrap your cucumber tests with cucumber, protractor and a structured way of creating page objects and component objects

8 lines (6 loc) 213 B
const { Before } = require('cucumber'); Before(async function () { console.log('Set browser width and height'); await this.goToPage('login'); await browser.driver.manage().window().setSize(1280, 1400); });