Returns the value attribute of element identified by locator.