code: @Override
      public void takeScreenshot(Scenario scenario) {
          logger.debug("takeScreenshot with the scenario named [{}]", scenario.getName());
          final byte[] screenshot = ((TakesScreenshot) Context.getDriver()).getScreenshotAs(OutputType.BYTES);
          scenario.embed(screenshot, "image/png");
      }
docs: {@inheritDoc}