https://selenium.dev/downloads/
https://blog.naver.com/liyingjie_cn/220951195902
https://dejavuqa.tistory.com/193
internet explorer 도구-인터넷옵션-보안-보호모드사용(체크해제-인터넷,로컬인트라넷,신뢰할수있는사이트,제한된사이트
혹시 localhost:55943 웹사이트 연결이 안될 때
internet explorer-도구-확대/축소-100%
------------------
기본
프로젝트 폴더에 webdriver 넣어줌
from selenium import webdriver
import os
# driver_location_path = "C://Users//miero//PycharmProjects//selenium//IEDriverServer.exe"
# os.environ["webdriver.Ie.driver"] = driver_location_path
# driver = webdriver.Ie()
# driver=webdriver.Chrome('C://Users//miero//PycharmProjects//selenium//chromedriver.exe')
# driver.implicitly_wait(3)
# 성공
# driver=webdriver.Chrome()
driver=webdriver.Ie()
driver.get('https://www.naver.com')
'컴퓨터 > Python' 카테고리의 다른 글
Windows Defender might be impacting your build performance. PyCharm checked thefollowing directories (0) | 2019.12.04 |
---|---|
pycharm에서 jupyter notebook 설치 사용하기 (0) | 2019.12.02 |
python 같은그림 드블클릭 (0) | 2019.11.27 |
python pyautogui 스크린 일부 이미지캡쳐 (0) | 2019.11.27 |
파이썬 네개점 그림가져오기 (0) | 2019.11.24 |