Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDP issue #11

Open
MiseaSybsa opened this issue Jan 18, 2025 · 0 comments
Open

CDP issue #11

MiseaSybsa opened this issue Jan 18, 2025 · 0 comments

Comments

@MiseaSybsa
Copy link

MiseaSybsa commented Jan 18, 2025

Should it even work with CDP_patches? I get an error when i try to use it

def main():
    with sync_playwright() as p:
        browser = p.chromium.launch()

        page = browser.new_page()
        sync_input = SyncInput(browser=browsers, emulate_behaviour=True)

File "...\.venv\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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant