src/Services/InteractWithPage.php
protected function see($text, $tag = 'body')
    {
        $this->assertContains($text, $this->getTextByTag($tag));

        return $this;
    }
protected function see($text, $tag = 'body')
    {
        $this->assertContains($text, $this->getTextByTag($tag));

        return $this;
    }
protected function see ( $ text , $ tag = 'body' ) { $ this -> assertContains ( $ text , $ this -> getTextByTag ( $ tag ) ) ; return $ this ; }
Assert that we see text within the specified tag
Defaults to the body tag.

@param $text
@param string $tag

@return $this
Assert that we see text within the specified tag Defaults to the body tag .