Remote Browser
Start running web automations at scale.
Scaling up
The local Dendrite
browser is great for development, but if you want to start scaling up you might want to use a hosted browser instead. We currently support Browserless and Browserbase as provider.
Browserless
To get started you’ll need to head over to Browserless and create an account. Get the API Key and save them in your .env file like this:
To start using the the remote browser you just need to specify the remote_config argument when initiating Dendrite
. Import the BrowserlessConfig
as following from dendrite.remote import BrowserlessConfig
.
Dendrite
browser. The only difference is that the browser is running in the cloud.Browserbase
To get started you’ll need to head over to Browserbase and create an account. Get both the Project ID and API Key and save them in your .env file like this:
To start using the the remote browser you just need to specify the remote_config argument when initiating Dendrite
. Import the BrowserbaseConfig
as following from dendrite.remote import BrowserbaseConfig
.
Dendrite
browser. The only difference is that the browser is running in the cloud.Proxy and downloads
You can active rotating proxies by setting enable_proxy=True
when creating the BrowserbaseConfig
. The proxies are provided by Browserbase and you can track your usage on their website.
browser.close=()
when you’re done. Otherwise the Browserbase session will continue until it timeouts.