Laravel - Browser Tests - Assert Port Is

Assert that the current URL port matches the given port:

    
    $browser->assertPortIs($port);