/** * Retrieves the message of a JavaScript alert generated during * the previous action. * * @return string * @access public */ public function getAlert() { return $this->selenium->getAlert(); }