티스토리 뷰

목차



    반응형

    가장 확실한 방법 하나만 소개함.

     

    파이썬 설치 위치에 들어가서 service.py 파일 탐색기에서 검색해서 찾아서 편집

    보통은 다음 경로에 존재함

    C:\Users\[사용자]\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\common\service.py

     

    creationflags=0x08000000 아래처럼 추가하셈

    self.process = subprocess.Popen(cmd, env=self.env,
      close_fds=platform.system() != 'Windows',
      stdout=self.log_file,
      stderr=self.log_file,
      stdin=PIPE,
      creationflags=0x08000000
    )
    반응형