src/Concerns/InteractsWithPages.php
public function seeElementCount($selector, $count)
    {
        $this->assertCount($count, $this->crawler->filter($selector));

        return $this;
    }
public function seeElementCount($selector, $count)
    {
        $this->assertCount($count, $this->crawler->filter($selector));

        return $this;
    }
public function seeElementCount ( $ selector , $ count ) { $ this -> assertCount ( $ count , $ this -> crawler -> filter ( $ selector ) ) ; return $ this ; }
Verify the number of DOM elements.

@param  string  $selector
@param  int  $number
@return $this
Verify the number of DOM elements .