|  | @@ -113,6 +113,8 @@ public class CreateInternalServiceImpl implements ICreateInternalService {
 | 
	
		
			
				|  |  |          chromeOptions.addArguments("--user-agent=" + HttpUtils2.USER_AGENT);
 | 
	
		
			
				|  |  |          chromeOptions.setAcceptInsecureCerts(true);
 | 
	
		
			
				|  |  |          WebDriver webDriver = new ChromeDriver(chromeOptions);
 | 
	
		
			
				|  |  | +        //清除所有的缓存
 | 
	
		
			
				|  |  | +        webDriver.manage().deleteAllCookies();
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |              webDriver.get(url);  //获取登录页面
 | 
	
		
			
				|  |  |              for (Cookie cookie : webDriver.manage().getCookies()) {
 | 
	
	
		
			
				|  | @@ -169,14 +171,13 @@ public class CreateInternalServiceImpl implements ICreateInternalService {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              if (errorCode == 0) {
 | 
	
		
			
				|  |  |                  //表示登录成功
 | 
	
		
			
				|  |  | -                String csrftoken = "";
 | 
	
		
			
				|  |  |                  List<org.apache.http.cookie.Cookie> cookies = HttpUtils2.cookieStore.getCookies();
 | 
	
		
			
				|  |  |                  for (org.apache.http.cookie.Cookie ck : cookies) {
 | 
	
		
			
				|  |  |                      Cookie cookie = new Cookie(ck.getName(), ck.getValue(), "." + ck.getDomain(), ck.getPath(), ck.getExpiryDate());
 | 
	
		
			
				|  |  |                      webDriver.manage().addCookie(cookie);
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -                webDriver.get("https://ad.oceanengine.com/pages/promotion.html#/ad");//登录成功 进入推广页面
 | 
	
		
			
				|  |  | +                //登录成功 进入推广页面
 | 
	
		
			
				|  |  | +                webDriver.get("https://ad.oceanengine.com/pages/promotion.html#/ad");
 | 
	
		
			
				|  |  |                  Thread.sleep(3000);
 | 
	
		
			
				|  |  |                  WebElement element = webDriver.findElement(By.xpath("//div[contains(@class,'-user-account-id')] "));
 | 
	
		
			
				|  |  |                  if (null != element) {
 |