How to maximize browser window in Geb framework?

Can I maximize the browser window in Geb framework?

Hi Emma,

To maximize the browser window in Geb framework, you can use the below command:

driver.manage().window().maximize();