@RunWith(CucumberWithSerenity.class)
@CucumberOptions(<configuration>)
public Class TestRunner{}
public Class StepDefinitions{}
public Class SomeClass{}
Is there a way to pass object of type SomeClass from TestRunner to StepDefintions? The reason behind this requirement is to have a single object of someClass object for all scenarios.