We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2fa06 commit a2b4c5fCopy full SHA for a2b4c5f
integrations/browser-use.mdx
@@ -23,10 +23,10 @@ from kernel import Kernel
23
from browser_use import Browser, Agent
24
25
# Initialize Kernel client
26
-kernel = Kernel(api_key="your-api-key")
+client = Kernel(api_key="your-api-key")
27
28
# Create a Kernel browser session
29
-kernel_browser = kernel.browsers.create()
+kernel_browser = client.browsers.create()
30
```
31
32
### 3. Update your Browser definition
@@ -60,7 +60,7 @@ agent = Agent(
60
result = agent.run()
61
62
# Clean up
63
-kernel.browsers.delete_by_id(kernel_browser.session_id)
+client.browsers.delete_by_id(kernel_browser.session_id)
64
65
66
<Info>
0 commit comments