protected function typeIn($element, $string) { $this->click($element)->clear(); return $this->type($string); }