예제 #1
0
 public function setUp()
 {
     self::$verificationErrors = array();
     self::$log = \Log::singleton('file', $GLOBALS['settings']['logname'], $this->getName());
     self::$selenium = \SaunterPHP_Framework_SeleniumConnection::RemoteControl();
     self::$selenium->start();
     self::$selenium->windowMaximize();
     $this->sessionId = self::$selenium->getEval("selenium.sessionId");
 }
예제 #2
0
 function __construct()
 {
     self::$string_timeout = $GLOBALS['timeouts']["str_ms"];
     self::$selenium = \SaunterPHP_Framework_SeleniumConnection::RemoteControl();
 }