added automatic screenshotting on failures (deactivatable by property)