[Python] undetected_chromedriver 오류 해결

2023. 2. 22. 14:17·Development/Python
# hide window option
    opt = Options()
    opt.headless = True
    opt.add_argument('--headless=new')
    #opt.add_argument('--headless')

    # undetected_chromedriver connect
    driver = uc.Chrome(use_subprocess=True,options=opt)​
undetected_chromedriver

unable to discover open pages ...

1. 크롬-크롬드라이버 업그레이드2. headless 옵션 사용 중일 경우, 끄고 실행해보기- 된다면 옵션 선언 문제

# hide window option
    opt = Options()
    opt.headless = True
    opt.add_argument('--headless=new')
    #opt.add_argument('--headless')

    # undetected_chromedriver connect
    driver = uc.Chrome(use_subprocess=True,options=opt)

 

'Development > Python' 카테고리의 다른 글

[Python] lxml 설치  (0) 2023.03.06
[Python] replace가 안될 때  (0) 2023.03.02
[Python] ERROR: command errored out with exit status 1 오류  (0) 2023.02.06
[Python] centos6/7에 python3.7.9 설치 하기  (0) 2023.01.30
[centOS7] Python 버전 업그레이드하기  (0) 2023.01.26
'Development/Python' 카테고리의 다른 글
  • [Python] lxml 설치
  • [Python] replace가 안될 때
  • [Python] ERROR: command errored out with exit status 1 오류
  • [Python] centos6/7에 python3.7.9 설치 하기
곽진돔
곽진돔
Developer
  • 곽진돔
    echo "곽박한 세상";
    곽진돔
  • 전체
    오늘
    어제
    • 분류 전체보기 (184)
      • Development (57)
        • Linux (13)
        • k8s (3)
        • Docker (5)
        • AWS (1)
        • PHP (35)
        • Python (21)
        • Java (1)
        • SpringBoot (4)
        • JavaScript (1)
        • React (8)
        • MySql (19)
        • MongoDB (1)
      • Daily (4)
      • Study (6)
        • TIL (1)
        • license (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 글쓰기
    • 설정
  • 링크

    • github
  • 공지사항

  • 인기 글

  • 태그

    error
    react
    IP
    chromedriver
    HTML
    JavaScript
    Shell
    리액트
    CentOS7
    Linux
    Java
    ssh
    date
    Selenium
    정규표현식
    nodejs
    UTF8
    크롤링
    php
    db
    Python
    리눅스
    springboot
    스프링부트
    인코딩
    CentOS
    MySQL
    윈도우
    SQL
    docker
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
곽진돔
[Python] undetected_chromedriver 오류 해결
상단으로

티스토리툴바