ClericPy / ichrome

Chrome controller for Humans, based on Chrome Devtools Protocol(CDP) and python3.7+.
https://pypi.org/project/ichrome/
MIT License
228 stars 29 forks source link

I got this error: This event loop is already running. #50

Closed Champollion9012 closed 3 years ago

Champollion9012 commented 3 years ago

When I used the ichrome with mitmproxy(https://mitmproxy.org/), I encounter the error This event loop is already running. And, I found that cause is by tab: AsyncTab = get_a_tab()

ClericPy commented 3 years ago

so ensure you code is running at the same loop (which is the official suggested)