src/Concerns/MakesAssertions.php
/**
     * Determine if the given value is selected for the given select field.
     *
     * @param  string  $field
     * @param  string  $value
     * @return bool
     */
Determine if the given value is selected for the given select field.
@param  string  $field
@param  string  $value
@return bool
Determine if the given value is selected for the given select field . @param string $field @param string $value @return bool
public function selected($field, $value)
    {
        $element = $this->resolver->resolveForSelection($field);
        return $element->getAttribute('value') === $value;
    }
public function selected ( $ field , $ value ) { $ element = $ this -> resolver -> resolveForSelection ( $ field ) ; return $ element -> getAttribute ( 'value' ) === $ value ; }
Determine if the given value is selected for the given select field.
Determine if the given value is selected for the given select field .