/** * {@inheritdoc} */ public function rightClick($xpath) { $this->mouseOver($xpath); $this->wdSession->click(array('button' => 2)); }