code: @SuppressWarnings("unchecked")
      public <T extends WebLocatorAbstractBuilder> T setType(final String type) {
          pathBuilder.setType(type);
          return (T) this;
      }
docs: <p><b>Used for finding element process (to generate xpath address)</b></p>
  <p>Result Example:</p>
  <pre>
  //*[@type='type']
  </pre>
  
  @param type eg. checkbox, button
  @param <T>  the element which calls this method
  @return this element