Laravel - Browser Tests - Retrieving Text

The text method may be used to retrieve the display text of an element that matches the given selector:

    
    $text = $browser->text('selector');