Create the factory for returning the given newPage instance.
newPage
NewPage instance that should be returned by this factory.