How can I maximize browser window in JavaScript Mocha?

How can I maximize browser window in JavaScript Mocha?

Hi Miro!

You can use the below command for maximizing the browser window in JavaScript Mocha.

WebDriver driver = new FirefoxDriver();
driver.manage().window().maximize();