public function setUp()
 {
     parent::setUp();
     $this->directory = sys_get_temp_dir();
     $existing = glob("{$this->directory}/Tests_Selenium2TestCase_ScreenshotListenerTest__*.png");
     foreach ($existing as $file) {
         unlink($file);
     }
     $this->listener = new PHPUnit_Extensions_Selenium2TestCase_ScreenshotListener($this->directory);
 }
 public function setUp()
 {
     parent::setUp();
     $this->setDesiredCapabilities(array('platform' => 'ANY'));
 }
Esempio n. 3
0
 public function setUp()
 {
     parent::setUp();
     $this->setSeleniumServerRequestsTimeout(60);
 }