How to maximize browser window in Php - Behat?

How can I maximize the browser window in Php - Behat?

Hi Tim,

You can add the following snippet in the test case file to maximize the browser window:

$this->getEval("window.resizeTo(1225, 996); window.moveTo(0,200);");

or

$this->windowMaximize();