Synaptic.Dev.OtomotoSearchDemo (synaptic v0.3.0-alpha.8)
View SourceDemo workflow that uses the browser-use MCP sidecar to search otomoto.pl by car criteria. Uses the AI search field (Obsługiwane przez Otomoto AI) for brand and model, then dedicated filter panels (Rok, Paliwo, Przebieg, Cena) for year, fuel, mileage, and price. Returns listing links with a price range.
Prerequisites
cd sidecar/browser-use
# fill in OPENAI_API_KEY in .env
./start.shUsage
iex -S mix
# Search BMW M2, 2018-2022
Synaptic.Dev.OtomotoSearchDemo.run(make: "BMW", model: "M2", year_from: 2018, year_to: 2022)
# Search Audi A4, diesel
Synaptic.Dev.OtomotoSearchDemo.run(make: "Audi", model: "A4", fuel_type: "Diesel")
# Minimal: just make
Synaptic.Dev.OtomotoSearchDemo.run(make: "Volkswagen")
Summary
Functions
Run the search workflow.
Functions
Run the search workflow.
Options (all optional except :make):
:make- car brand (required, e.g. "BMW", "Audi"):model- model name (e.g. "M2", "A4"):year_from- minimum year (integer):year_to- maximum year (integer):fuel_type- e.g. "Benzyna", "Diesel", "Elektryczny", "Hybryda":mileage_max- max mileage in km (integer):price_min- minimum price PLN (integer):price_max- maximum price PLN (integer):base_url- MCP server URL override