summaryrefslogtreecommitdiffstats
path: root/_log/bumblebee.md
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-06-05 21:00:02 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-06-12 19:49:59 +0800
commita8d7508006db8309550755a72719de83bde3cdd9 (patch)
treef641b17405c674d3799ebca1f135538bfc930b7d /_log/bumblebee.md
parent293923a31d434c37cae454a4f1d9977772d11f02 (diff)
downloadwww-a8d7508006db8309550755a72719de83bde3cdd9.tar.gz
Improve writing.minimalist
Diffstat (limited to '_log/bumblebee.md')
-rw-r--r--_log/bumblebee.md13
1 files changed, 5 insertions, 8 deletions
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.
<video style="max-width:100%; margin-bottom: 10px" controls="" poster="poster.png">
<source src="bee.mp4" type="video/mp4">
</video>
-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