AttachScreenshotOnFailedStepHook constructor Null safety

AttachScreenshotOnFailedStepHook()