recorded scenario hang because page is not in full screen.

Hi, I recorded a scenario but it stops with an error while selecting an item on the page (“Unable to click on object”). Running step by step is OK but only when I have the page on full screen. How can I put a step to get a full screen page in the scenario ?

Regards.

WebUI.maximizeWindow()