spring boot基础知识 —— springboot集成自动化测试selenium进行模拟登录,进行了单元测试(Java)
码云地址:https://gitee.com/hjc2/springboot.git
需要下载一个谷歌浏览器对应的驱动,我的驱动如下地址下载:
http://chromedriver.storage.googleapis.com/index.html
注释很详细,直接上代码:
package com.dream.bootselenium.test;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.juni
原创
2020-09-12 15:58:19 ·
1539 阅读 ·
0 评论