public function seeElementInDOM($selector, $attributes = [])
    {
        $this->enableImplicitWait();
        $els = $this->match($this->getBaseElement(), $selector);
        $els = $this->filterByAttributes($els, $attributes);
        $this->disableImplicitWait();
        $this->assertNotEmpty($els);
    }
public function seeElementInDOM($selector, $attributes = [])
    {
        $this->enableImplicitWait();
        $els = $this->match($this->getBaseElement(), $selector);
        $els = $this->filterByAttributes($els, $attributes);
        $this->disableImplicitWait();
        $this->assertNotEmpty($els);
    }
public function seeElementInDOM ( $ selector , $ attributes = [ ] ) { $ this -> enableImplicitWait ( ) ; $ els = $ this -> match ( $ this -> getBaseElement ( ) , $ selector ) ; $ els = $ this -> filterByAttributes ( $ els , $ attributes ) ; $ this -> disableImplicitWait ( ) ; $ this -> assertNotEmpty ( $ els ) ; }
Checks that the given element exists on the page, even it is invisible.

``` php
<?php
$I->seeElementInDOM('//form/input[type=hidden]');
?>
```

@param $selector
@param array $attributes
Checks that the given element exists on the page even it is invisible .