webdriver-hj3415
프로젝트 개요
webdriver-hj3415는 다양한 브라우저(WebDriver)를 손쉽게 실행하고 관리할 수 있도록 도와주는 Python 라이브러리입니다.
이 프로젝트는 Selenium 및 WebDriver Manager를 활용하여 크롬, 파이어폭스, 엣지, 사파리 등의 웹 드라이버를 자동으로 설정하고 실행합니다.
지원하는 브라우저
- Chrome
- Firefox
- Edge
- Safari
- Chromium
설치 방법
pip install webdriver-hj3415
사용법
WebDriver 실행하기
from webdriver_hj3415.drivers import get
driver = get("chrome", headless=True)
다른 브라우저 실행 예제:
driver = get("firefox")
driver = get("edge")
driver = get("safari")
driver = get("chromium")
기능 설명
- 자동 WebDriver 설치
- 랜덤 User-Agent 적용
- Headless 모드 지원
- 파일 다운로드 경로 설정
- Geolocation 설정 지원
코드 구조
webdriver-hj3415/
│── webdriver_hj3415/
│ ├── __init__.py
│ ├── drivers.py
│── tests/
│ ├── test_drivers.py
│── README.md
│── requirements.txt
의존성 목록
- selenium
- webdriver-manager
Metadata
Release files for webdriver-hj3415 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| webdriver_hj3415-2.1.0.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| webdriver_hj3415-2.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.2 kB
Release files / webdriver_hj3415-2.1.0.tar.gz
| Download URL | webdriver_hj3415-2.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f925d6d821ae6abe2dc9968b28a0fe837d190ae353d092180c66f65fd085e4a
|
|
BLAKE2b-256 checksum How to use checksums |
399b0dd3184023cf77fd1be9d18630329bc0b4ff38c15cb633738d10c44e4b69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / webdriver_hj3415-2.1.0-py2.py3-none-any.whl
| Download URL | webdriver_hj3415-2.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bd485104649e665014d707c8352266fa4cafa40306468765c69c0f28894a7ae9
|
|
BLAKE2b-256 checksum How to use checksums |
acb17293b6c7f39bf9693d24ddc7e75601eccbe61418b05d5f38a24385b8b054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|