Closed ClericPy closed 2 years ago
ichrome version 3.0.0+
from ichrome import AsyncChromeDaemon
from ichrome.utils import PortForwarder
lan_ip = '192.168.0.100'
async with PortForwarder(('127.0.0.1', 9222), (lan_ip, port)):
async with AsyncChromeDaemon() as cd:
https://stackoverflow.com/questions/6827310/chrome-remote-debugging-doesnt-work-with-ip
The default chrome debug mode does not support non-headless mode when opening remote access:
--headless
runs ok--headless
runs ok--headless
runs okheadless
failsSo far there is not any ways to fix it, so you should try some ways of
forward proxy
for this:gost -L 172.1.1.11:9456/127.0.0.1:9234
ssh -L 0.0.0.0:9223:localhost:9222 localhost -N