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(); }
public function setUp() { $this->config->setUp(); }