protected static void init(final UITestContext context) {
    sContext = context;
    sSolo = context.getSolo();

    sAppMenu = (AppMenuComponent) context.getComponent(ComponentType.APPMENU);
    sToolbar = (ToolbarComponent) context.getComponent(ComponentType.TOOLBAR);
  }
  /** Returns a new URL with the docshell HTTP server host prefix. */
  public static String adjustUrl(final String url) {
    fAssertNotNull("url is not null", url);

    if (url.startsWith("about:") || url.startsWith("chrome:")) {
      return url;
    }

    return sContext.getAbsoluteHostnameUrl(url);
  }
 protected static void init(final UITestContext context) {
   sSolo = context.getSolo();
 }