What you share is the WebDriverProvider instance, not the WebDriver.
And an example that shows multiple steps classes being used can be found
in the Etsy tutorial.
https://github.com/jbehave/jbehave-tutorial/tree/master/etsy-selenium/java-spring
On 04/08/2012 15:55, Roy de Kleijn wrote:
Ok, but I need the webdriver instance in all stepDefinition classes,
that's why I inherit a baseclass.
Can you point me to the correct example where multiple stepsclasses
are used for the same scenario. (And where they share the same
instance of an object.)
Thanks