code: public boolean equivalent(Element otherElement, boolean logging) {
  		if (eventable.getElement().equals(otherElement)) {
  			if (logging) {
  				LOGGER.info("Element equal");
  			}
  			return true;
  		}
  
  		if (eventable.getElement().equalAttributes(otherElement)) {
  			if (logging) {
  				LOGGER.info("Element attributes equal");
  			}
  			return true;
  		}
  
  		if (eventable.getElement().equalId(otherElement)) {
  			if (logging) {
  				LOGGER.info("Element ID equal");
  			}
  			return true;
  		}
  
  		if (!eventable.getElement().getText().equals("")
  				&& eventable.getElement().equalText(otherElement)) {
  
  			if (logging) {
  				LOGGER.info("Element text equal");
  			}
  
  			return true;
  		}
  
  		return false;
  	}
docs: Comparator against other element.
  
  @param otherElement The other element.
  @param logging      Whether to do logging.
  @return Whether the elements are equal.