Added support to clear an editable element (i.e. text field)

Added unit test