Skip to content

Detected with the library #29

@mikebgrep

Description

@mikebgrep

Hi, I am checking ✔️ the library, and I found it strange, but without the sthelth, I got a page response. When I run with stealth, the page does not load, and I got an exception.
Take a look, for example pages behind cloudflare does not load.
Is working without the lib, and when I use the lib, it is not loading.

I am using exactly this

with sync_playwright() as p:
    browser = p.chromium.launch(
            headless=True,
        )
    page = browser.new_page()
    stealth_sync(page)
    page.goto("https://bot.sannysoft.com/")
    page.screenshot(path=f"example_with_stealth.png", full_page=True)
    browser.close()

Do the lib change the user agent from
HeadlessChrome/ to Chrome/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions