
WebDriver
慌慌_23333
300字以内
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
webdriver By的7种常用定位方式
1、By.id() 2、By.name() driver.findElement(By.name("wd")).sendKeys("test"); 3、By.tagName() --根据标签元素 List <WebElement> a=driv原创 2019-01-11 15:01:54 · 2228 阅读 · 0 评论 -
webdriver实现浏览器前进,后退,刷新
public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.firefox.bin", "F:/Mozilla Firefox/firefox.exe"); WebDriver driver=new FirefoxDriver(); //get到百...原创 2019-02-25 15:47:18 · 905 阅读 · 0 评论