05-21 07:17
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 리눅스 마스터 1급
- Class
- X윈도우
- selenium
- 셀레니움
- Mac
- preprocessing
- Java
- X.org
- Entity Set
- Operator
- systemd
- Unity
- 백준
- Polymolphism
- OOP
- python
- Reference Type
- spring
- dbms
- External Scheme
- Inheritance
- BFS
- Binary Search
- 리눅스
- literal
- 자바
- descriptive statistics
- Physical Scheme
- Entity
Archives
- Today
- Total
목록selenium (2)
Byeol Lo
셀레니움 로그 남기지 않기
다음 options을 세팅하자! from selenium import webdriver from selenium.webdriver.chrome.options import Options import chromedriver_autoinstaller chromedriver_autoinstaller.install("./") chrome_options = Options() chrome_options.add_argument('--headless') chrome_options.add_argument('--log-level=3') # 브라우저 로그 레벨을 낮춤 chrome_options.add_argument('--disable-loging') # 로그를 남기지 않음 driver = webdriver.Chrome(ch..
Programming Language/Python
2022. 6. 4. 17:55
셀레니움 구글 드라이버 간편 설치 및 실행
다음 외장 모듈을 설치해서 사용하면 편리하다. pip install chromedriver_autoinstaller 설치 완료가 되었으면 다음 코드를 실행한다. from selenium import webdriver import chromedriver_autoinstaller chromedriver_autoinstaller.install("경로") driver = webdriver.Chrome("경로") url = "https://google.com" driver.get(url)
Programming Language/Python
2022. 6. 4. 17:39