Laravel - Browser Tests - Assert Fragment Begins With

Assert that the URL's current hash fragment begins with the given fragment:

    
    $browser->assertFragmentBeginsWith('anchor');