Skip to content

Mv3 extension disabled when create new context #325

@azamtoiri

Description

@azamtoiri

Context

When create new_context appear error that mv3_extension is not loaded

Chrome 135.0.7049.42
Mac os 15.3.2 (24D81) Apple M4
Arm arch

Script

import asyncio
from selenium_driverless import webdriver


async def main():
    async with webdriver.Chrome() as browser:
        context_1 = browser.current_context

        context_2 = await browser.new_context(
            proxy_server="socks5://127.0.0.1:10002"
        )

        await context_1.current_target.get("https://httpbin.io/ip")
        await context_2.get("https://httpbin.io/ip")

        print(await context_1.page_source)
        print(await context_2.page_source)


asyncio.run(main())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions