[파이썬]centos7x chrome driver 사용
# Operation System/Linux2022. 10. 20. 16:17[파이썬]centos7x chrome driver 사용

설치환경 [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...

[파이썬]셀레니움 프록시 설정
# Script/Python2022. 10. 19. 20:20[파이썬]셀레니움 프록시 설정

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")

[파이썬]bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed error
# Script/Python2021. 5. 19. 22:36[파이썬]bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed error

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)

image