protected function elementNotFound($type, $selector = null, $locator = null)
    {
        @trigger_error(sprintf('The method %s is deprecated as of 1.7 and will be removed in 2.0', __METHOD__), E_USER_DEPRECATED);

        return new ElementNotFoundException($this->driver, $type, $selector, $locator);
    }
protected function elementNotFound($type, $selector = null, $locator = null)
    {
        @trigger_error(sprintf('The method %s is deprecated as of 1.7 and will be removed in 2.0', __METHOD__), E_USER_DEPRECATED);

        return new ElementNotFoundException($this->driver, $type, $selector, $locator);
    }
protected function elementNotFound ( $ type , $ selector = null , $ locator = null ) { @ trigger_error ( sprintf ( 'The method %s is deprecated as of 1.7 and will be removed in 2.0' , __METHOD__ ) , E_USER_DEPRECATED ) ; return new ElementNotFoundException ( $ this -> driver , $ type , $ selector , $ locator ) ; }
Builds an ElementNotFoundException.

@param string      $type
@param string|null $selector
@param string|null $locator

@return ElementNotFoundException

@deprecated as of 1.7, to be removed in 2.0
Builds an ElementNotFoundException .