#vulnerable code 
                                public WebDriverManager browserPath(String browserPath) {
        browserBinaryPath = browserPath;
        return instanceMap.get(driverManagerType);
    } 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                public WebDriverManager browserPath(String browserPath) {
        config().setBinaryPath(browserPath);
        return instanceMap.get(driverManagerType);
    }