Overview
Narada allows you to control a remote browser window from anywhere in the world. This powerful feature enables you to automate tasks on remote machines, making it perfect for distributed automation scenarios, cloud-based testing, and remote browser automation.Prerequisites
Install Narada
Install Narada on the remote machine
Chrome Extension
Install the Narada extension in Chrome
Python SDK
Set up the Python SDK on the controlling machine
Getting Started
1
Initialize the Remote Browser
On the remote machine:
- Open Chrome with the Narada extension installed
- Visit https://app.narada.ai/initialize
- The page will initialize the extension and display your unique browser window ID
Keep this browser window ID secure as it provides direct access to the remote browser.
2
Set Up Control Script
Create a Python script on your controlling machine:
Make sure to replace the
browser_window_id
with the ID from your remote browser.3
Run Your First Remote Task
Execute your control script:
If successful, you’ll see the remote browser execute your command and return the results!
How It Works
- Browser Window ID: Each browser window is assigned a unique ID when initialized. This ID serves as the connection point between your control script and the remote browser.
-
Remote Connection: When you create a
RemoteBrowserWindow
instance with a specific ID, Narada establishes a secure connection to that remote browser. -
Task Execution: Using
agent()
, you can send commands to the remote browser. These commands are executed as if they were run locally. - Response Handling: The remote browser executes the task and sends back the results, which you can process in your control script.