@Test
  public void f() throws InterruptedException {
	  
	  Actions action = new Actions(Driver);
	  
	  WebDriverWait wait = new WebDriverWait(Driver, 20);
	  
	  System.out.println("ƶֻ");  
	  
	  wait.until(ExpectedConditions.presenceOfElementLocated(By.linkText("ֻ")));
	  
	  WebElement phone = Driver.findElement(By.linkText("ֻ"));
	  
	  action.moveToElement(phone).perform();
	  
	  Thread.sleep(2000);
	  
	  System.out.println("ֻ");
	  
	  //Driver.findElement(By.xpath("//a[@href='http://list.jd.com/9987-653-655.html']")).click();
	  //Driver.findElement(By.xpath("//em//a[text() = 'ֻ']")).click();
	  
	  //չбֻ
	  ((JavascriptExecutor) Driver).executeScript("arguments[0].click();", Driver.findElement(By.xpath("//em//a[text() = 'ֻ']")));
	
	  
	  System.out.println("빺ﳵ");
	  
	  wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("//li[@sku='981821']//div[@class='btns']/a[@class='btn-buy']")));
	  Driver.findElement(By.xpath("//li[@sku='981821']//div[@class='btns']/a[@class='btn-buy']")).click();
	  
	  String currentHandle = Driver.getWindowHandle();
	  
	  Set <String> Handles = Driver.getWindowHandles();
	  
	  for(String handle:Handles) {
		  if(handle.equals(currentHandle)) {
			  System.out.println(Driver.getTitle());
			  continue;
		  }
		  else {
			  Driver.switchTo().window(handle);
			  System.out.println(Driver.getTitle());
		  }
	  }
	  
	  //ȥﳵ
	  Driver.findElement(By.id("GotoShoppingCart")).click();
	  
	  //ȥ
	  wait = new WebDriverWait(Driver, 5);
	  wait.until(ExpectedConditions.presenceOfElementLocated(By.id("toSettlement")));
	  Driver.findElement(By.id("toSettlement")).click();
	  
	  //޸ջϢ
	  Driver.findElement(By.className("step-action")).click();
	  
	  //ʹµַ
	  System.out.println("ʹµַ");
	  wait = new WebDriverWait(Driver, 5);
	  wait.until(ExpectedConditions.presenceOfElementLocated(By.id("consignee_radio_new")));
	  Driver.findElement(By.id("consignee_radio_new")).click();
	  
	  //ѡʡ
	  System.out.println("ѡʡ");
	  wait.until(ExpectedConditions.presenceOfElementLocated(By.id("consignee_province")));
	  //Select select = new Select(Driver.findElement(By.id("consignee_province")));
	  //WebElement province = Driver.findElement(By.xpath("//div[@class='consignee-form']/div[2]//select[@id='consignee_province']"));
	  //WebElement province = Driver.findElement(By.id("consignee_province"));
	  //Driver.findElement(By.xpath("//div[@class='consignee-form']/div[2]//select[@id='consignee_province']")).click();
	  
	  Thread.sleep(2000);
	  Select select = new Select(Driver.findElement(By.xpath("//div[@class='consignee-form']/div[2]//select[@id='consignee_province']")));
	  select.selectByValue("19");
	  //select.selectByIndex(2);
	  
	  //ѡ
	  System.out.println("ѡ");
	  Thread.sleep(1000);
	  select = new Select(Driver.findElement(By.id("consignee_city")));
	  select.selectByValue("1607");
	  
	  //ѡ
	  System.out.println("ѡ");
	  Thread.sleep(1000);
	  select = new Select(Driver.findElement(By.id("consignee_county")));
	  select.selectByValue("3155");
  }