I tried to figure out how this may work with the cucumber-scala library. While browsing the sourcecode I got the imression that dependency injection is not designed in that library. Unfortunately this was affirmed by the following discussion:
https://github.com/cucumber/cucumber-jvm/issues/469
There might be a way to add the dependencies using the cake pattern...