반응형
    
    
    
  순서
1. selenium 설치하기
2. chrome driver 설치
selenium 설치하기
pip install selenium
pip 명령어가 없다고 나온다.
mihyunnoh  ~  pip install selenium                                                                                                           ✔
zsh: command not found: pip참고로 pip는
pip is the package installer for Python.
맥에서는 아래와 같이 pip3로 설치
pip3 install selenium
chrome driver 설치
chrome 버전 확인
chrome://version



파일명 1_selenium.py를 만들고
아래 입력 후 실행
from selenium import webdriver
browser = webdriver.Chrome()
browser.get("http://daum.net")
https://youtu.be/exgO1LFl9x8?t=20232
반응형
    
    
    
  'python' 카테고리의 다른 글
| python flask bootstrap mysql CRUD 샘플 (0) | 2023.08.03 | 
|---|---|
| google spreadsheet api (0) | 2022.12.03 | 
| python 자동화 관련 google, naver 인증 문제 (0) | 2022.12.02 | 
| element 가져와서 클릭하기 (0) | 2022.11.30 | 
 
댓글