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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: chrome_proxy-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 83b954623741e81d52f9d0f76b5e7f61f60052853bee66d563d892079c21dc6c
MD5 e1656097fd8445be69b8349e631ddb56
BLAKE2b-256 7e9dd210d84332ce389fe8d95b16022b1d8a88bb32ba25003924a63853df13ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chrome_proxy-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2eb8f18c114cee5bdf0e75a7e6cb5ab65e4f1e5c3a805046cf4cacf389ca5bf1
MD5 27185f52f480ac5d0c5272daa1281efd
BLAKE2b-256 104aca5afe5245b085baccb0d19e6b359e3ec37e95aa133612298958fc6c67e3

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