/** * Prepare browser session */ public function prepareBrowserSession() { $browsers = $this->_configHelper->getConfigBrowsers(); if ($this->frameworkConfig['shareSession'] && empty(self::$browsers)) { $this->setupSpecificBrowser($browsers['default']); $this->shareSession($this->prepareTestSession()); } elseif (empty(self::$browsers)) { $this->setupSpecificBrowser($browsers['default']); $this->prepareTestSession(); } else { $this->frameworkConfig['shareSession'] = false; $this->prepareTestSession(); } }