-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Support chromium for AArch64 when specifying use_chromium=True with pure CDP mode #4318
Copy link
Copy link
Open
Description
Hello,
On Raspberry Pi 5, when using the use_chromium=True browser arg in pure CDP mode, I get the "failed to connect to the browser error". When not using this parameter, chromium is used correctly.
import asyncio
from seleniumbase import cdp_driver
from seleniumbase.undetected.cdp_driver.browser import Browser
async def main():
#browser: Browser = await cdp_driver.start_async(ad_block=True, use_chromium=True) # error
browser: Browser = await cdp_driver.start_async(ad_block=True, use_chromium=False) # works
browser.stop()
if __name__ == '__main__':
loop = asyncio.new_event_loop()
loop.run_until_complete(main())I think what happens is that with use_chromium=True, SB will download the x64 binary of chromium no matter the platform. When not using use_chromium=True, SB will use the installed AArch64 binary.
Can this be fixed? I use use_chromium=True on macOS and would like not to have to remove the option when switching to Raspberry Pi 5.
Thanks,
nyg
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels