protected function fillForm($buttonText, $inputs = []) { if (!is_string($buttonText)) { $inputs = $buttonText; $buttonText = null; } return $this->getForm($buttonText)->setValues($inputs); }