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