Ejemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     $this->config->setUp();
     if ($this->config->getScreenshotPath() != '' && $this->config->getScreenshotUrl() != '') {
         $this->screenshotPath = $this->config->getScreenshotPath();
         $this->screenshotUrl = $this->config->getScreenshotUrl();
         $this->captureScreenshotOnFailure = true;
     }
     $this->setHost($this->config->getSeleniumHost());
     $this->setPort($this->config->getSeleniumPort());
     $this->setBrowser('*chrome');
     $this->setBrowserUrl($this->config->getBaseHref());
     $this->start();
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     $this->config->setUp();
 }