inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

셀레니움 브라우저 타입에러

167

김이현

작성한 질문수 1

0

   opt = webdriver.ChromeOptions()
   opt.add_argument("headless")
    driver = webdriver.Chrome("C:/Users/user-pc/Desktop/LAOCON/selenium/chromedriver.exe"options=opt)
    driver.get("https://www.google.co.kr/imghp?hl=ko&tab=ri&authuser=0&ogbl")
이 코드에서
Traceback (most recent call last): File "C:\Program Files\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Program Files\Python39\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "c:\Users\user-pc\Desktop\LAOCON\selenium\selenium\add csv.py", line 112, in start_selenium driver = webdriver.Chrome("C:/Users/user-pc/Desktop/LAOCON/selenium/chromedriver.exe", options=option) TypeError: __init__() got an unexpected keyword argument 'options'
이러한 오류가 나는 이유는 무엇이고 어떻게 수정해서 고칠 수 있는지 알려주셨스면 합니다 ㅠㅠ path도 정확하게 확인 다 했습니다

브라우저 셀레니움

답변 0

셀레니움 기초 사용법 강좌 질문

3

676

1

네이버지도 검색어입력중 태그 못찾는 문제

0

461

1

headless option 질문

0

247

1

셀레니움 라이브러리 질문

0

423

1

브라우저에 아무것도 보이지 않습니다.

1

1069

1

셀레니움 설치 버전 업그레이드

0

278

0