04-30 14:32
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Unity
- Mac
- 리눅스
- spring
- Operator
- 백준
- X윈도우
- X.org
- selenium
- Class
- Entity Set
- Java
- Reference Type
- Binary Search
- Polymolphism
- Inheritance
- External Scheme
- Physical Scheme
- descriptive statistics
- python
- 자바
- 리눅스 마스터 1급
- Entity
- dbms
- systemd
- 셀레니움
- OOP
- preprocessing
- BFS
- literal
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