{"repo":"scivisum/browser-debugger-tools","free":true,"listed":false,"github":"https://github.com/scivisum/browser-debugger-tools","clone":"git clone https://github.com/scivisum/browser-debugger-tools.git","description":"A python client for the devtools protocol","language":"Python","stars":17,"topics":["automation","selenium","chromedriver","devtools-protocol"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"browser-debugger-tools Overview The purpose is to provide a python client to connect to the debugger tools of a web-browser. Currently supports connecting to Google-Chrome/Chromium over the devtools protocol, via a wrapped websockets client. Feel free to extend and add support for other browsers as required. For improved performance, install the wsaccel python lib https://pypi.org/project/wsaccel/ Example Usage Start Google-Chrome, passing a remote debugger port argument, for example on Ubuntu: In a python console, you can connect to the remote debugging port and enable the Page domain. The client provides some devtools interface methods, for example: Or more generally you can call remote methods according to the devtools protocol spec (https://chromedevtools.github.io/devtools-protocol/tot/Network), for example Contributing Running Tests The test.sh script makes running tests easier, it will create containers with the required environment; and run a virtual display for the E2E tests. It takes a single argument which is a pytest expression to run a subset of tests, for example:","default_branch":null,"files":null,"tree":[],"storefront":"/r/scivisum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/scivisum/browser-debugger-tools/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}