package sele; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.WebDriverWait; public class Daum { public static void main(String[] args) { Daum selTest = new Daum(); selTest.crawl(); } //WebDriver private WebDriver driver; static WebDriverWait wait; //Properties public static final String WE..
package sele; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class NaverTest { public static void main(String[] args) { NaverTest selTest = new NaverTest(); selTest.crawl(); } //WebDriver private WebDriver driver; //Properties public static final String WEB_DRIVER_ID = "webdriver.chrome.driver"; public static final String WEB_DRIVER_PATH = "C:\\sele\..

이제 이전글에서 필요한 파일 다운로드 등을 했으니 본격적으로 소스를 통해 실행해 보자. 이클립스 최신 버전을 처음 쓰는데 Build Path에 Module Path와 Class Path가 있어서 헷갈렸다. 뭣도 모르고 Module Path에 해 놓고 에러메시지 만남.. ㅜ 이런식으로 다운받은 jar를 Java Build Path > Classpath에 Add External JARs 한다. 6개 jar가 add 되면 된다. package selenium; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class SeleniumTest { public static void main(Str..

휴~ 구글링 하면서 자바 셀레니움을 하려고 하는데 너무 부실하고 엉망인 글들이 많아서 다시 정리해 본다. 1. 본인이 깔려있는 크롬의 버전을 확인 버전 90.0.4430.212 이라고 되어 있다. 2. 크롬 드라이버 다운로드 https://chromedriver.chromium.org/downloads 90 을 쓰고 있으니 두번째 If you are using Chrome version 90, please download ChromeDriver 90.0.4430.24 이것을 클릭한다. 그러면 아래화면으로 이동한다. chromedriver_win32.zip 을 클릭하면 다운로드 받아지고 압축을 풀면 chromedriver.exe 가 생긴다. 3. Selenium Client & WebDriver Langu..
- Total
- Today
- Yesterday
- 스크래핑
- 플러터
- proc
- 라이믹스 모듈
- 자바 smtp
- 포인터
- MySQL
- 파이썬
- ocajp
- Python
- xe애드온
- webix
- 문자열
- esql
- 인포믹스
- JDBC
- ocjap
- 프로씨
- xe addon
- 이클립스
- php
- XE3
- EC
- C
- C언어
- 파싱
- KG
- XE
- 자바
- 오라클
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |