src/Concerns/MakesAssertions.php
public function assertSourceMissing($code)
    {
        PHPUnit::assertFalse(
            Str::contains($this->driver->getPageSource(), $code),
            "Found unexpected source code [{$code}]"
        );

        return $this;
    }
public function assertSourceMissing($code)
    {
        PHPUnit::assertFalse(
            Str::contains($this->driver->getPageSource(), $code),
            "Found unexpected source code [{$code}]"
        );

        return $this;
    }
public function assertSourceMissing ( $ code ) { PHPUnit :: assertFalse ( Str :: contains ( $ this -> driver -> getPageSource ( ) , $ code ) , "Found unexpected source code [{$code}]" ) ; return $ this ; }
Assert that the given source code is not present on the page.

@param  string  $code
@return $this
Assert that the given source code is not present on the page .