java - How to make 2 HtmlUnit's WebClients use same cookies? -
If I make 2 webcells in different threads, how can I use them one cookie?
You can use the following code:
cookie manager Cookiemanager = new cookieManager (); WebClient1.setCookieManager (cookieManager); WebClient2.setCookieManager (cookieManager);
Comments
Post a Comment