giorgiosironi / phpunit-selenium

Selenium RC integration for PHPUnit
http://www.phpunit.de/
Other
602 stars 270 forks source link

Automatically Killing the firefox during execution of a test case #263

Open nilanjanray opened 11 years ago

nilanjanray commented 11 years ago

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'); } }

giorgiosironi commented 11 years ago

This should happen automatically, but at the end of the test case. Can you attach the Selenium Server log?