Adds a locators to a protractor instance that find specific elements.
creates a JSON history instance.