src/Concerns/MakesAssertions.php
public function assertTitleContains($title)
    {
        PHPUnit::assertTrue(
            Str::contains($this->driver->getTitle(), $title),
            "Did not see expected value [{$title}] within title [{$this->driver->getTitle()}]."
        );

        return $this;
    }
public function assertTitleContains($title)
    {
        PHPUnit::assertTrue(
            Str::contains($this->driver->getTitle(), $title),
            "Did not see expected value [{$title}] within title [{$this->driver->getTitle()}]."
        );

        return $this;
    }
public function assertTitleContains ( $ title ) { PHPUnit :: assertTrue ( Str :: contains ( $ this -> driver -> getTitle ( ) , $ title ) , "Did not see expected value [{$title}] within title [{$this->driver->getTitle()}]." ) ; return $ this ; }
Assert that the page title contains the given value.

@param  string  $title
@return $this
Assert that the page title contains the given value .