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 |
Tags
- iptables rule
- 코로나19
- 아마존 웹 서비스
- 산업기능요원
- init.d
- 기초군사훈련
- 파일 삭제
- 인텔 CPU
- lsattr
- CCNA
- Crontab
- 삭제 금지
- 아마존 메일발송
- CCNA 자격증
- 시스코 덤프
- AMD CPU
- FP9
- ccna 덤프
- 재부팅
- AWS
- 시스코 자격증
- chattr
- crontab 재부팅시에만
- 따오콘
- 유비트콘
- 인텔 CPU 성능저하
- 재부팅 커맨드
- 덤프
- amazon ses
- iptables 재부팅
Archives
- Today
- Total
이상한 개발노트
Chromedriver DevToolsActivePort file doesn't exist 에러 해결법 본문
간밤에 삽질하게 만들었다.
chromedriver가 업데이트 되면서 DevToolsActivePort를 찾을 수 없다는 에러를 뿜게 되었다.
chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('--headless') chrome_options.add_argument('--no-sandbox') chrome_options.add_argument('--disable-dev-shm-usage') driver = webdriver.Chrome('/usr/local/bin/chromedriver', chrome_options=chrome_options) |
이런식으로 headless 옵션과 no-sandbox 옵션, disable-dev-shm-usage을 적용시켜 구동시키면 에러없이 구동하는 걸 확인할 수 있다.
'삽질 > Python' 카테고리의 다른 글
ImportError: cannot import name 'main' (0) | 2018.06.07 |
---|