Does anyone know how dependency injection would fit in into page object model. Say I am extracting all objects from a given page of a web application product. And now I was to define a subclass inside this page class.
How would dependency injection would help me here? How should I go about it ?
class MyPageClass > SuperPageClass
object1 object2
class SubMyPageClass object3 object4
end
end