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
- 코드 중복제거
- react react-router-dom v6
- react
- javascrpit 기초
- javascript 기초
- Spring Controller return
- spring builder
- step 테이블
- javascript 함수
- JPA Update\
- Spring CORS
- react link
- spring
- Spring JPA
- react quill custom
- react Page
- Spring DTO
- SpringBatch 스키마
- react forwardRef
- react jsx if
- react Quill
- editor Quill
- 텍스트가 많은 경우
- JPA Insert
- spring security
- springbatch
- Spring Entity
- Docker Windows 설치
- Javascript
- springbatch chunk
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