Skip to main content

chrome remote debug proxy

Project description

chrome-proxy

安装

pip install chrome-proxy -U 

启动代理

# 正常模式
chrome_proxy
# 无头模式
chrome_proxy --headless

使用

from selenium import webdriver

options = webdriver.ChromeOptions()
# 本地
# options.debugger_address = "127.0.0.1:9222"
# 远程
options.debugger_address = "192.168.100.156:9223"
driver = webdriver.Chrome(options=options)
driver.get("https://www.baidu.com")
print(driver.title)

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

chrome_proxy-1.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

chrome_proxy-1.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file chrome_proxy-1.0.1.tar.gz.

File metadata

  • Download URL: chrome_proxy-1.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for chrome_proxy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 34813342ce700ddb60d7adde62c7ecf86950e5c7f914bb1a2fdc48c2e1d598e9
MD5 579e7f83ab9554bfbd0405f27ae5e545
BLAKE2b-256 ad9339cc30e133ff2a32250d19b62d35d13663af66dceee9202efc81a3266dd9

See more details on using hashes here.

File details

Details for the file chrome_proxy-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: chrome_proxy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for chrome_proxy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a4e9774f1e97d8057a633d6bbe98b15cba2444ed4bc55da57d4fb36bb806c36
MD5 3249bcf08b054554142127e95cdb9f0c
BLAKE2b-256 d7398a162f92f1b72c31cb4f9a28777162f233927c5483cadb1f8d32518c544f

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