src/Concerns/MakesAssertions.php
/**
     * Get the value of the given input or text area field.
     *
     * @param  string  $field
     * @return string
     */
Get the value of the given input or text area field.
@param  string  $field
@return string
Get the value of the given input or text area field . @param string $field @return string
public function inputValue($field)
    {
        $element = $this->resolver->resolveForTyping($field);
        return $element->getTagName() == 'input'
                        ? $element->getAttribute('value')
                        : $element->getText();
    }
public function inputValue ( $ field ) { $ element = $ this -> resolver -> resolveForTyping ( $ field ) ; return $ element -> getTagName ( ) == 'input' ? $ element -> getAttribute ( 'value' ) : $ element -> getText ( ) ; }
Get the value of the given input or text area field.
Get the value of the given input or text area field .