설치환경 [darksharavim.tistory.com]cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 크롬설치 [darksharavim.tistory.com]yum -y install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm [darksharavim.tistory.com]rpm -qa | grep google-chrome google-chrome-stable-106.0.5249.119-1.x86_64 크롬드라이버 설치 [darksharavim.tistory.com]google-chrome --version Google Chrome 106.0.5249...
from selenium import webdriver PROXY = "IP:Port" webdriver.DesiredCapabilities.CHROME['proxy'] = { "httpProxy": PROXY, "ftpProxy": PROXY, "sslProxy": PROXY, "proxyType": "MANUAL" } driver = webdriver.Chrome() driver.get("URL")
exe파일로 만든 후 실행시 콘솔에 아래와 같이 오류 발생 Bluetooth: bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed error 아래코드 추가 후 해결 options = webdriver.ChromeOptions() options.add_experimental_option('excludeSwitches', ['enable-logging']) driver = webdriver.Chrome(options=options)