Closed tkotosz closed 4 years ago
What's the exact use case?
Sorry for the late reply. I was trying to get around an issue, when injecting Page Objects through the Context constructor fails due to using a custom service container for Behat. But I realised how to get around it differently. Related PR: https://github.com/tkotosz/BehatMagento2Extension/pull/5
So closing this MR now. :)
The service is private by default in the new symfony DI versions, but would be nice to access it to create page objects on the fly.