You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 union again.
can confirm. happens also when using patchright-python
sync_input = SyncInput(browser=browser)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\cdp_patches\input\sync_input.py", line 59, in __init__
self.pid = get_sync_browser_pid(browser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\cdp_patches\input\browsers.py", line 154, in get_sync_browser_pid
if isinstance(browser, SeleniumChrome) or isinstance(browser, DriverlessSyncChrome):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union
Describe the bug
undetected_playwright
is not supported. Normalplaywright
does have import, but notundetected_playwright
. ThrowsTypeError: isinstance() arg 2 must be a type, a tuple of types, or a union
again.Code Sample
To Reproduce
Steps to reproduce the behavior:
undetected_playwright
. Use it to open any website.cdp-patches
.Expected behavior
There is no import for
undetected_playwright
for sync as well as asyncCDP-Patches/cdp_patches/input/browsers.py
Line 14 in 602b680
Screenshots
None
Desktop (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: