public function takeScreenshot()
    {
        try {
            $this->screenshots[] = $this->mink->getSession()->getScreenshot();
        } catch (UnsupportedDriverActionException $e) {
            return;
        } catch (\Exception $e) {
            $this->output->writeln($e->getMessage());
        }        
    }