Development - Python
Use the Python API to control Simular Browser in developer environments
Setup and configuration
Initialize
Absolute path to the Simular Browser
Planner Configuration: anthropic_key, planner_model, planner_mode
Execution Configuration: allow_subtasks, max_parallelism, enable_vision, max_steps, timeout
Browser Functions
is_app_running
launch_app
run
Query sent to the browser
Timeout for the operation
Reset the tab chat history before running the query
Browser Tab
Initialize
Reference to parent browser
Configuration: id, responses, images, info, verbose
reset_storage
open
open and connect the tab in SimularBrowser
close
close and disconnect the tab from SimularBrowser
After closing, you can still retain the tab reference to access its storage
query
query the tab using browser’s api key, returns tab.responses
Query send to the browser tab
Planner Configuration: model, planner_mode
Execution Configuration: allow_subtasks, max_parallelism, enable_vision, max_steps, timeout