/**
  * Test if two element IDs refer to the same DOM element.
  *
  * @param WebDriverElement $other
  * @return boolean
  */
 public function equals(WebDriverElement $other) {
   try {
     return $this->element->equals($other);
   } catch (WebDriverException $exception) {
     $this->dispatchOnException($exception);
   }
 }