1. Selenium 다운로드
https://www.selenium.dev/downloads/
2. 드라이버 설치
https://chromedriver.chromium.org/downloads
3. pom.xml 수정
스프링에 추가
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-api -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>3.141.59</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>3.141.59</version>
</dependency>
4. 코드 작성
하다 실패 ㅎ
'자바 풀스택 공부' 카테고리의 다른 글
Day 79. [DataBase] 트랜잭션 (0) | 2022.04.27 |
---|---|
Day 78. [Spring] 게시판 댓글 등록, 수정, 삭제, 페이징 (0) | 2022.04.26 |
Day 75. 시험 공부 정리 ~ (0) | 2022.04.21 |
Day 67 ~ 73. 서버 구현 과제 (0) | 2022.04.20 |
Day 66. [Spring] ORM (Object Relational Mapping) (0) | 2022.04.08 |
댓글