src/Concerns/MakesAssertions.php
public function selected($field, $value)
    {
        $options = $this->resolver->resolveSelectOptions($field, (array) $value);

        return collect($options)->contains(function (RemoteWebElement $option) {
            return $option->isSelected();
        });
    }
public function selected($field, $value)
    {
        $options = $this->resolver->resolveSelectOptions($field, (array) $value);

        return collect($options)->contains(function (RemoteWebElement $option) {
            return $option->isSelected();
        });
    }
public function selected ( $ field , $ value ) { $ options = $ this -> resolver -> resolveSelectOptions ( $ field , ( array ) $ value ) ; return collect ( $ options ) -> contains ( function ( RemoteWebElement $ option ) { return $ option -> isSelected ( ) ; } ) ; }
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 .