An abstract class to represent a tag which uses the locator and locatorType as defined in the Selenium docs
to get a specified value and put it into the context.
Gets the references of the session and the test results from the parent TestCase
This method gets called once all attributes are set from the macro language.