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.2.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83b954623741e81d52f9d0f76b5e7f61f60052853bee66d563d892079c21dc6c
|
|
| MD5 |
e1656097fd8445be69b8349e631ddb56
|
|
| BLAKE2b-256 |
7e9dd210d84332ce389fe8d95b16022b1d8a88bb32ba25003924a63853df13ff
|
File details
Details for the file chrome_proxy-1.0.2-py3-none-any.whl.
File metadata
- Download URL: chrome_proxy-1.0.2-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 |
2eb8f18c114cee5bdf0e75a7e6cb5ab65e4f1e5c3a805046cf4cacf389ca5bf1
|
|
| MD5 |
27185f52f480ac5d0c5272daa1281efd
|
|
| BLAKE2b-256 |
104aca5afe5245b085baccb0d19e6b359e3ec37e95aa133612298958fc6c67e3
|