From a8d7508006db8309550755a72719de83bde3cdd9 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Fri, 5 Jun 2026 21:00:02 +0800 Subject: Improve writing. --- _log/bumblebee.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to '_log/bumblebee.md') diff --git a/_log/bumblebee.md b/_log/bumblebee.md index 09165b0..7962279 100644 --- a/_log/bumblebee.md +++ b/_log/bumblebee.md @@ -6,21 +6,18 @@ project: true thumbnail: thumb_sm.png --- -One year at trading firm. Scripts are saturating CPUs, stalling servers. +One year at trading firm; scripts are saturating CPUs, stalling servers. Forced to restart them. -2025-02: Built tool to record browser sessions and synthesize better scripts. +2025-02: Built a C# WinForms app to record browser sessions and synthesize +better scripts. -Stack: C# WinForms, WebView2 (Edge), Scintilla.NET editor. - -Injected JS hooks, WebView2 and the editor generate events. If-else blocks -convert them to Selenium code. Optimizer squashes multiple events into single -commands (e.g., calendar clicks → text input), uses heuristics to improve DOM -addressing (xpath, id, element). +JS hooks, WebView2 browser, Scintilla.NET editor emit events. Backend +interprets them and emits Selenium browser automation code. Two linear lists store events and code—no time for ASTs. Mid-session manual edits desync lists, block optimizer. Workaround: only edit script after -- cgit v1.2.3