Skip to content

"Error loading extension" when loading multiple extension directories on Windows #3468

@mkuchuman

Description

@mkuchuman

Hi, when I load more than one extension it doesn't work for me

Tried this example from the issue Load extensions in UC Mode #1817

from seleniumbase import Driver, SB

driver = Driver(uc=True, extension_dir="temp/disable_csp,temp/ad_block")
try:
driver.get("https://nowsecure.nl/#relax")
import pdb; pdb.set_trace()
finally:
driver.quit()

Only the first extension loads
For the second extension I get

Error loading extension
Failed to load extension from:
C:\Program Files\Google\Chrome\Application\132.0.6834.160\temp\ad_block
The manifest file is missing or unreadable.

I tried different extensions, regardless of the second extension it does not load
If you change the order of extensions, then the extension that was not loaded before is loaded, and the one that was loaded is not loaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModebugUh oh... Something needs to be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions