基于 SELENIUM 的自動化測試架構(37)

發表于:2017-04-11來源:gitbook作者:凌俁Linty?點擊數: 標簽:selenium
public void switchToFrame (String selector) { WebElement we = this .locateElement(selector); this .baseDriver.switchTo().frame(we);} 找到一個指定的select,并且通過index進行選擇 selectB
public void switchToFrame(String selector) { WebElement we = this.locateElement(selector); this.baseDriver.switchTo().frame(we); }
  • 找到一個指定的select,并且通過index進行選擇

    selectByIndex(selector, index)

    public void selectByIndex(String selector, int index) {
      WebElement we = this.locateElement(selector);
      Select s = new 
    
    
    
               

    原文轉自:http://gitbook.cn/books/58e54b57cfcd6fa52dcef1d2/index.html

  • ...
    国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97