/** * @return bool * @throws WebDriverException */ public function isSelected() { try { return $this->element->isSelected(); } catch (WebDriverException $exception) { $this->dispatchOnException($exception); } }