public function type($text, $element)
    {
        $value = ['value' => [$text]];
        $this->findByNameOrId($element, $text)->postValue($value);

        return $this;
    }
public function type($text, $element)
    {
        $value = ['value' => [$text]];
        $this->findByNameOrId($element, $text)->postValue($value);

        return $this;
    }
public function type ( $ text , $ element ) { $ value = [ 'value' => [ $ text ] ] ; $ this -> findByNameOrId ( $ element , $ text ) -> postValue ( $ value ) ; return $ this ; }
Fill in an input with the given text.

@param  string $text
@param  string $element
@return static
Fill in an input with the given text .