"윈도우 셀레늄 설치"의 두 판 사이의 차이

17번째 줄: 17번째 줄:
* 압축해제  
* 압축해제  
* chromedriver.exe를 D:\workspace로 이동
* chromedriver.exe를 D:\workspace로 이동
==예제==
<source lang='python'>
from selenium import webdriver
driver = webdriver.Chrome('D:/workspace/chromedriver')
driver.get('http://www.google.com/xhtml');
</source>


==(Optional) 라이브러리 설치==
==(Optional) 라이브러리 설치==
23번째 줄: 30번째 줄:
pip install numpy
pip install numpy
pip install mysqlclient
pip install mysqlclient
</source>
==예제==
<source lang='python'>
from selenium import webdriver
driver = webdriver.Chrome('D:/workspace/chromedriver')
driver.get('http://www.google.com/xhtml');
</source>
</source>



2017년 10월 2일 (월) 20:40 판

1 개요

윈도우 셀레늄 설치
Console
Copy
C:\Users\jmnote>pip install selenium
Collecting selenium
  Downloading selenium-3.6.0-py2.py3-none-any.whl (924kB)
... (생략)
Installing collected packages: selenium
Successfully installed selenium-3.6.0

2 크롬 드라이버 설치

3 예제

Python
Copy
from selenium import webdriver
driver = webdriver.Chrome('D:/workspace/chromedriver')
driver.get('http://www.google.com/xhtml');

4 (Optional) 라이브러리 설치

bat
Copy
pip install lxml
pip install numpy
pip install mysqlclient

5 같이 보기

6 참고