action&select

上一篇 / 下一篇  2012-05-14 14:28:34 / 个人分类:Selenium

WebElement we= driver.findElement(By.xpath("your xpath"));
Actions builder = new Actions(driver);
Action action=builder.moveToElement(we).build();
action.perform();
 
 
 
 
Select select = new Select(driver.findElement(By.id("whoSee"))); 
 select.getAllSelectedOptions();
 
 

TAG:

 

评分:0

我来说两句

日历

« 2024-05-14  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 74701
  • 日志数: 80
  • 建立时间: 2012-04-12
  • 更新时间: 2013-05-21

RSS订阅

Open Toolbar