diff options
Diffstat (limited to '_log/bumblebee.md')
| -rw-r--r-- | _log/bumblebee.md | 13 |
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 |
