src/Concerns/MakesAssertions.php
public function vueAttribute($componentSelector, $key)
    {
        $fullSelector = $this->resolver->format($componentSelector);

        return $this->driver->executeScript(
            "return document.querySelector('".$fullSelector."').__vue__.".$key
        );
    }
public function vueAttribute($componentSelector, $key)
    {
        $fullSelector = $this->resolver->format($componentSelector);

        return $this->driver->executeScript(
            "return document.querySelector('".$fullSelector."').__vue__.".$key
        );
    }
public function vueAttribute ( $ componentSelector , $ key ) { $ fullSelector = $ this -> resolver -> format ( $ componentSelector ) ; return $ this -> driver -> executeScript ( "return document.querySelector('" . $ fullSelector . "').__vue__." . $ key ) ; }
Retrieve the value of the Vue component's attribute at the given key.

@param  string  $componentSelector
@param  string  $key
@return mixed
Retrieve the value of the Vue component s attribute at the given key .