Skip to content

Chrome extension dont load correctly on scrapy-playwright #342

@Jaogmar

Description

@Jaogmar

I was trying to use extension with scrapy playwright, the extension is loaded to chrome process correctly but when i do a request the extension dont be activate tho this context/window like the extension is disabled

this is the PLAYWRIGHT_LAUNCH_OPTIONS that i used

custom_settings = {
        "PLAYWRIGHT_LAUNCH_OPTIONS": {
            "headless": False,
            "args": [
                "--disable-blink-features=AutomationControlled",
                "--disable-infobars",
                "--no-sandbox",
                "--disable-setuid-sandbox",
                "--load-extension=/path/to/extension",
                "--disable-extensions-except=/path/to/extension",
            ],
    }

And this is the result of what i was saying

the chrome context that is showing the extension icon is the context that was manually opened by the context behind
Image

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