Selenium for Showm Company
Project description
smcode
Installaion (설치)
cmd창을 열어서 하단의 코드를 입력 후 실행.
pip install smcode
Example (사용예시)
from smcode.selenium import * # smcode의 selenium 모듈의 모든 것을 임포트
driver = load_driver()
or
from smcode.selenium import load_driver # smcode의 selenium 모듈의 load_driver만 임포트
driver = load_driver()
or
import smcode.selenium # smcode의 selenium 모듈을 임포트, 이 경우에는 하단처럼 전체 경로를 입력해야 함
driver = smcode.selenium.load_driver()
or
import smcode # 이 경우에는 하단처럼 전체 경로를 입력해야 함
driver = smcode.selenium.load_driver()
시크릿모드
from smcode.selenium import *
driver = load_driver(mode='secret') # 다른 import 방법들도 가능
fast모드
from smcode.selenium import *
driver = load_driver(mode='fast') # 이미지 등을 로딩하지 않아 빠른 속도 지원
병행사용
from smcode.selenium import *
driver = load_driver(mode='secret' and 'fast')
옵션 부여
from smcode.selenium import *
options = Options()
options.add_argument(f'--headless')
driver = load_driver(chrome_options=options) # mode와 병행 사용 가능
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smcode-0.0.5.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file smcode-0.0.5.tar.gz
.
File metadata
- Download URL: smcode-0.0.5.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18cfd62ef68f5d376a12be35603d73c82fb7110fb40cbb4cc2eaff66cc48284e |
|
MD5 | 3c2370dc4d05d40c00d97ee14fc4810c |
|
BLAKE2b-256 | 62f6987cfa7d2c375b50d4295b6916a9554ecb3270b98a742fc3e8cbe0df8ec0 |
File details
Details for the file smcode-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: smcode-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9bc28951afb8b59481458fff185dae969245597292f96ab511f86b93c0219d2 |
|
MD5 | 4c2c8e6e96ad610720f33991ec624885 |
|
BLAKE2b-256 | b6bb54bdb90f0e7ab9ed1c725529aa02b23a00426d88a1bb49296d1f3f96c9bf |