code: public static <T> T getEventFiringObject(T t, WebDriver driver) {
          return getEventFiringObject(t, driver, Collections.emptyList());
      }
docs: This method makes an event firing object.
  
  @param t an original {@link Object} that is
  supposed to be listenable
  @param driver an instance of {@link org.openqa.selenium.WebDriver}
  @param <T> T
  @return an {@link Object} that fires events