I have multiple test cases to execute and we need to capture screenshots after every step. All of my scripts are written with WebUI Keywords or Custom Keywords. Please note there are no Cucumber keywords used. I have a method to capture screenshot in listener with Cucumber Hook @AfterStep. This does not seem to be working. Please let me know if this scenario is possible… Can I invoke a method with @AfterStep from listener for WebUI script? Is there any catch?