public function prepareDefaultDrupalDriver($event)
    {
        $feature = $event->getFeature();
        $scenario = $event instanceof ScenarioLikeTested ? $event->getScenario() : $event->getOutline();

        // Get the default driver.
        $driver = $this->parameters['default_driver'];

        foreach (array_merge($feature->getTags(), $scenario->getTags()) as $tag) {
            if (!empty($this->parameters[$tag . '_driver'])) {
                $driver = $this->parameters[$tag . '_driver'];
            }
        }

        // Set the default driver.
        $this->drupal->setDefaultDriverName($driver);

        // Set the environment.
        $environment = $event->getEnvironment();
        $this->drupal->setEnvironment($environment);
    }