@SuppressWarnings("unchecked") protected Map<String, Object> getProperties() throws SAFSException { if (compObject != null) { return sUtils.getAttributes(selenium, compObject.getLocator()); } else { Log.debug("compObject is null, can't get properties."); return null; } }