Skip to main content

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.6.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

smcode-0.0.6-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file smcode-0.0.6.tar.gz.

File metadata

  • Download URL: smcode-0.0.6.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

Hashes for smcode-0.0.6.tar.gz
Algorithm Hash digest
SHA256 3f082e6f650af4aeb32aa1fe28209ed1ce349c394fb075e4e94cd925711db022
MD5 ebdb48e8661075b9a6e4204aa027d81c
BLAKE2b-256 452cd4935e02118a2866fbfde9eb3fd11d0ec4ee0857f34090dffb9539e5a9ff

See more details on using hashes here.

File details

Details for the file smcode-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: smcode-0.0.6-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

Hashes for smcode-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 106e707af034bfee3587f6ae26bdbc5d0bd3a366fdb643cb00d03cc8cc07646a
MD5 2494d148ab908e1878859f0d90547d9e
BLAKE2b-256 d8268aa266f82d9c4a7ceb8eaa9c0ec6cc0df8d8ea98893af03a198633b1c35c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page