public function index() { $this->autoRender = false; // echo phpinfo(); $selenium = new Testing_Selenium('chrome', 'http://cpa.cesufoz.edu.br'); $selenium->start(); // $selenium->getTitle('CPA'); // Qual é a URL que ele vai usar $selenium->type("UserPassword", '362476'); $selenium->stop(); // $this->setUp(); //$this->testTitle(); }
/** * Close the browser and set session to NULL. * * @return string * @access public */ public function stop() { if ($this->selenium !== NULL) { return $this->selenium->stop(); } }