python selenium synchronous xmlhttprequest on the main thread is deprecated 해결 방법


python selenium synchronous xmlhttprequest on the main thread is deprecated 해결 방법

파이썬에서 selenium 패키지, chromedriver.exe를 이용하여 웹페이지 스크래핑 중 다음과 같은 로그가 나오는 경우가 있습니다. selenium synchronous xmlhttprequest on the main thread is deprecated 에러는 아니기에 동작에는 큰 문제가 없지만 찾아보니 딱히 해결책이 없는 것 같습니다. webdriver를 사용할 때 다음과 같은 옵션을 넣어 deprecated 문구가 보이지 않도록 처리했습니다. options = Options() options.add_argument('--headless') options.add_argument('--hide-scrollbars') options.add_argument('--disable-gpu') opti..


원문링크 : python selenium synchronous xmlhttprequest on the main thread is deprecated 해결 방법