if (browser.getBrowserType().equals(BrowserType.IE)) mappedSelector = (CSSSelector) msieMappings.get(selector); else mappedSelector = (CSSSelector) geckoMappings.get(selector);
String selectorSuffix = (String) geckoMappings.get(selector); if (selectorSuffix != null) mappedSelector = new CSSSelector("#"+addressedComponent.getName()+selectorSuffix) ;
    public CSSSelector  mapSelector(CSSSelector selector) {        Browser browser = SessionManager.getSession().getUserAgent();        CSSSelector mappedSelector = null;        if (browser.getBrowserType().equals(BrowserType.IE))            mappedSelector = (CSSSelector) msieMappings.get(selector);        else            mappedSelector = (CSSSelector) geckoMappings.get(selector);        return mappedSelector != null ? mappedSelector : selector;    }