Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- javascript 기초
- react forwardRef
- react link
- react quill custom
- Spring CORS
- JPA Update\
- react
- editor Quill
- Spring DTO
- step 테이블
- JPA Insert
- 코드 중복제거
- react Quill
- react jsx if
- spring security
- react react-router-dom v6
- javascript 함수
- react Page
- Spring JPA
- 텍스트가 많은 경우
- SpringBatch 스키마
- springbatch
- Javascript
- javascrpit 기초
- springbatch chunk
- Docker Windows 설치
- spring
- Spring Controller return
- Spring Entity
- spring builder
Archives
- Today
- Total
천천히 알아보는 코딩공부
Python Selenium 설치 본문
Install
일반 python 환경이라면 pip(pip3)을, conda 환경이라면 conda를 사용한다.
pip install selenium
conda install selenium
일반적인 파이썬 라이브러리와는 다르게, 하나 더 필요한 것이 있다.
브라우저별로 selenium webdriver를 다운로드해야 한다.
:버전이 여러 개가 있는데, 본인이 사용하는 Chrome의 버전에 맞는 webdriver를 다운받아야 한다.
크롬의 버전은 여기에서 확인하거나 오른쪽 위 점 3개 > 도움말 > Chrome 정보에서 확인할 수 있다.
다운받은 파일을 Python 파일과 같은 디렉토리에 둔다. 다른 곳에 두어도 상관없지만, driver 경로를 입력하기 아주 조금 더 귀찮아질 수 있다.
'Python > 기초' 카테고리의 다른 글
Python - 문자열 자르기 (substring, slicing) (0) | 2022.06.29 |
---|---|
Python 파이썬 vscode 설정 (0) | 2022.06.16 |
Comments