Hey everyone! I’ve been using Puppeteer for a while now, but I’m curious about something. Is there a way to run Puppeteer scripts with the Brave browser instead of the default Chromium?
I know Brave is based on Chromium, which is why you can use it with Selenium. But I’m not sure if the same is true for Puppeteer. Has anyone tried this before or know if it’s possible?
I’d really appreciate any insights or experiences you could share. It would be cool to use Brave’s features while automating tasks with Puppeteer. Thanks in advance for your help!
yup, puppeteer can work with brave! i’ve done it before. you just need to set the executablePath option when launching the browser to point to your brave executable. it’s pretty straightforward, give it a shot and lemme know if u need help setting it up
Indeed, Puppeteer is compatible with Brave. I’ve implemented this in several projects. The key is to specify the Brave executable path when initializing Puppeteer. However, be aware that some Brave-specific features might not be fully accessible through Puppeteer. In my experience, most standard web automation tasks work seamlessly, but you may encounter limitations with certain Brave-exclusive functionalities. It’s worth testing thoroughly to ensure all your required operations function as expected. If you’re looking to leverage Brave’s privacy features in your automation, this approach can be particularly beneficial.
Hey there! I’ve actually been using Puppeteer with Brave for a few months now on a project at work. It’s definitely possible and works pretty well overall. The setup is similar to what others have mentioned - you just need to point Puppeteer to the Brave executable.
One thing to keep in mind though is that Brave’s ad-blocking and privacy features can sometimes interfere with certain web elements or scripts. We ran into a few issues where our automated tests were failing because Brave was blocking trackers or scripts that the sites relied on. We ended up having to disable some of Brave’s shields for certain scenarios.
Performance-wise, I found it to be quite snappy, maybe even a bit faster than regular Chromium in some cases. Just be prepared to do some extra debugging if you’re working with sites that rely heavily on third-party scripts or trackers. Overall though, it’s been a solid experience and I’d recommend giving it a shot!