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
Hello,
On Raspberry Pi 5, when using the
use_chromium=Truebrowser arg in pure CDP mode, I get the "failed to connect to the browser error". When not using this parameter, chromium is used correctly.I think what happens is that with
use_chromium=True, SB will download the x64 binary of chromium no matter the platform. When not usinguse_chromium=True, SB will use the installed AArch64 binary.Can this be fixed? I use
use_chromium=Trueon macOS and would like not to have to remove the option when switching to Raspberry Pi 5.Thanks,
nyg