protected function startCoverageCollection($testName) { $cookie = ['CodeCoverage' => $testName, 'CodeCoverage_Suite' => $this->suiteName, 'CodeCoverage_Config' => $this->settings['remote_config']]; $this->module->amOnPage('/'); $this->module->setCookie(self::COVERAGE_COOKIE, json_encode($cookie)); }