I have tried to write a simple script like, it executes but selinium server reports in log for killing the firefox automatically. I have used 2.33.0 of selenium server
class WebTest extends PHPUnit_Extensions_SeleniumTestCase
{
protected function setUp()
{
$this->setBrowser('*firefox');
$this->setBrowserUrl('http://www.yahoo.com/');
}
public function testTitle()
{
$this->open('http://www.yahoo.com/');
$this->assertTitle('Example WWW Page');
}
}
I have tried to write a simple script like, it executes but selinium server reports in log for killing the firefox automatically. I have used 2.33.0 of selenium server
class WebTest extends PHPUnit_Extensions_SeleniumTestCase { protected function setUp() { $this->setBrowser('*firefox'); $this->setBrowserUrl('http://www.yahoo.com/'); }
public function testTitle() { $this->open('http://www.yahoo.com/'); $this->assertTitle('Example WWW Page'); } }