code: public static ScrollSpy scrollSpy(final UIObject spyOn, final String selector) {
          return new ScrollSpy(spyOn.getElement(), selector);
      }
docs: Attaches ScrollSpy to specified object with specified target selector.
  
  @param spyOn    Spy on this object
  @param selector CSS selector of target element
  @return ScrollSpy