Maximize the window if it is not maximized already.
string|null $name window name (null for the main window):
void
public function maximizeWindow(?string $name = null) { $this->driver ->maximizeWindow($name); }