I am trying to create a custom keyword for cucumber hooks .
@Keyword
public void beforeScenario(Scenario
scenario) {
LOG.logInfo(scenario.getName())
....remaining code
}
I am getting Null pointer exception error and the input is null for Scenario param Could someone please help me understand what I am missing