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
Release history Release notifications | RSS feed
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.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file chrome_proxy-1.0.0.tar.gz
.
File metadata
- Download URL: chrome_proxy-1.0.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b0fcf9a30199b5c9bd74363357553a7d69480c40a9a039aa59417d8dc68a8f |
|
MD5 | 967e9ef5c5c30161bdeac1be2a5378cb |
|
BLAKE2b-256 | 2fa92acb326ebdafbbefecd3bc5194f09703b8586197ba8e4065d988f73f6790 |
File details
Details for the file chrome_proxy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: chrome_proxy-1.0.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ee33cc9cc4f9ca1950ffb7901a35b59dd9be226b59faff339dce0c0770ea2d |
|
MD5 | 253458f7185e3cb17768d11f143b12e7 |
|
BLAKE2b-256 | a4ec634e6cf8fa498488a7e0ca663810a3a037d7d899e5924b4e5cf370314cef |