基于 SELENIUM 的自动化测试架构(41)
发表于:2017-04-11来源:gitbook作者:凌俣Linty?点击数:
标签:selenium
id : case i : we = this .baseDriver.findElement(By.id(value)); break ; case css_selector : case css : case cssselector : case s : we = this .baseDriver.findElement(By.cssSelector(value)); break ; case
"id":
case "i":
we =
this.baseDriver.findElement(By.id(value));
break;
case "css_selector":
case "css":
case "cssselector":
case "s":
we =
this.baseDriver.findElement(By.cssSelector(value));
break;
case "xpath":
case "x":
we =
this.baseDriver.findElement(By.xpath(value));
break;
case "link_text":
case
原文转自:http://gitbook.cn/books/58e54b57cfcd6fa52dcef1d2/index.html