BUMBLEBEE: WEB SCRIPT SYNTHESIZER

02 APRIL 2025

Few months at trading firm. Brittle ETL jobs—scripts max out CPUs. Budget cuts, high cloud costs—no hardware bailout. Workaround: restart stalling servers. Fine idea in every respect; only doesn’t solve the problem.

Need better scripts. Created tool on my own time to synthesize/optimize code from browser sessions:

Stack: C# WinForms host, WebView2 (Edge), Scintilla.NET editor.

Injects JS hooks, intercepts browser events. Converts to Selenium commands. Events and commands stored in two lists. Editor and command list two-way bound.

Optimizer squashes event sequences into single commands (e.g., calendar clicks → text input). Better DOM addressing (xpath, id, element) using heuristics.

Lists desync on manual edits, blocks optimizer. Workaround: edit at end of session only.

NOTE: Replace lists with ASTs?

Very close to implementing key optimization: skip browser, grab data file directly when possible.

Abandoned project—left the mad tea party. Source code: proprietary.