Here is a screenshot:
task : Codeception PHP Testing Framewor
The workaround that worked for me is to set the takesScreenshot capability to false.
DesiredCapabilities caps = new DesiredCapabilities(); caps.setCapability("takesScreenshot", false);