Try using SeleniumBase, it worked fine for me and it bypasses cloudflare with the CDP mode.
you can find examples on the cdp mode here, https://seleniumbase.io/examples/cdp_mode/ReadMe/#cdp-mode-api-methods
it also passes AntiCaptchaV2, and AntiCaptchaV3 like most of the time but not always, good luck trying.