public function select($selector, $context = null)
    {
        // Set context to the current element if empty
        $context = $context ?: $this;

        return $this->getHTMLDocument()->selectElement($selector, $context);
    }