@Override
    protected void init() {
      register(getHandler, new SessionAndPayloadExtractionTestHandler(
          "/wd/hub/session/:sessionId/element"));
      register(postHandler, new SessionAndIdExtractionTestHandler(
          "/wd/hub/session/:sessionId/element/:id/click"));
    }
Configuring AndroidServlet to use special test handler.
selendroid-server/src/test/java/io/selendroid/server/BaseTest.java