'Firefox on OSX', 'browser' => '*firefox', 'host' => '127.0.0.1', 'port' => 4444, 'timeout' => 30000, ), array( 'name' => 'Chrome on OSX', 'browser' => '*chrome', 'host' => '127.0.0.1', 'port' => 4444, 'timeout' => 30000, ), array( 'name' => 'Internet Explorer 11 on Windows8.1', 'browser' => '*iexplore', 'host' => '192.168.253.39', 'port' => 4444, ), */ array( 'name' => 'Internet Explorer 8 on WindowsXP', 'browserName' => '*iehta', 'host' => '127.0.0.1', 'port' => 4444, ) ); static $baseurl='http://10.0.2.2/prado-master/tests/FunctionalTests/'; static $timeout=5; //seconds static $wait=1000; //msecs protected function setUp() { $this->setBrowserUrl(static::$baseurl); $this->setSeleniumServerRequestsTimeout(static::$timeout); } public function setUpPage() { $this->timeouts()->implicitWait(static::$wait); } protected function open($url) { $this->url($url); } protected function tearDown() { } protected function verifyTextPresent($txt) { $this->assertContains($txt, $this->source()); } protected function assertText($id, $txt) { $element = $this->byId($id); $this->assertEquals($txt, $element->text()); } protected function pause($msec) { usleep($msec*1000); } }