public void copySeleniumCookies ( Set < Cookie > browserCookies , CookieStore cookieStore ) { for ( Cookie browserCookie : browserCookies ) { ClientCookie cookie = convertCookie ( browserCookie ) ; cookieStore . addCookie ( cookie ) ; } }
Converts Selenium cookies to Apache http client ones .