CDP-Patches
CDP-Patches copied to clipboard
Patching CDP (Chrome DevTools Protocol) leaks on OS level. Easy to use with Playwright, Selenium, and other web automation tools.
- [x] fix https://github.com/Kaliiiiiiiiii-Vinyzu/CDP-Patches/issues/10 TODO's in https://github.com/Kaliiiiiiiiii-Vinyzu/CDP-Patches/discussions/13 @Vinyzu please review (refactor for isort etc. if necessary), add license & then release
**Describe the bug** `undetected_playwright` is not supported. Normal `playwright` does have import, but not `undetected_playwright`. Throws `TypeError: isinstance() arg 2 must be a type, a tuple of types, or a...
**Describe the bug** Can't use it with Botright, can not init AsyncInput when browser is Botright **Code Sample** ``` async def runnnn(): from cdp_patches.input import AsyncInput botright_client = await botright.Botright()...
``` $ uname -a Linux debian 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux $ gnome-shell --version GNOME Shell 43.9 $ echo $XDG_SESSION_TYPE wayland ``` Looks the python calls...
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2. Release notes Sourced from requests's releases. v2.32.2 2.32.2 (2024-05-21) Deprecations To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes...
At https://github.com/Kaliiiiiiiiii-Vinyzu/CDP-Patches/blob/602b680abf50b8190a5955ec7feb8c2045002e8d/cdp_patches/input/async_input.py#L79 and https://github.com/Kaliiiiiiiiii-Vinyzu/CDP-Patches/blob/602b680abf50b8190a5955ec7feb8c2045002e8d/cdp_patches/input/sync_input.py#L73 On OS:Windows and not having `Selenium-Driverless` installed, we get: ``` E TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union...
Add some `cdp_patches.Server().start()` and `cdp_patches.Client().connect()` functionality to make it easier integrable on an remote instance & ofc handle all the networking//IO over some WebSocket and//or REST API