sensiolabs / BehatPageObjectExtension

MIT License
117 stars 48 forks source link

Allow to use Page object factory directly #123

Closed tkotosz closed 4 years ago

tkotosz commented 5 years ago

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.

jakzal commented 5 years ago

What's the exact use case?

tkotosz commented 4 years ago

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. :)