From 4edf733b7bf460d1c27c9e6529b8d39cf5bb5e56 Mon Sep 17 00:00:00 2001
From: Sadeep Madurange
Manual authoring of such scripts took time. The scripts were often brittle due -to the complex nature of modern websites, and they lacked optimizations such as +to the complexity of the modern web, and they lacked optimizations such as bypassing the UI and retrieving the data files directly when possible, which would have significantly reduced our compute costs.
To alleviate these challenges, I, with the help of a colleague, Andy Zhang, -built Bumblebee: a C# Windows Forms desktop application that uses Microsoft -Edge WebView2 for -rendering web content.
+built Bumblebee: a web browser powered by C# Windows Forms, Microsoft Edge WebView2, and +the Scintilla.NET text editor.Bumblebee works by injecting a custom JavaScript program that intercepts client-side events and sends them to Bumblebee for analysis. In addition to front-end events, Bumblebee also captures internal browser events, which it then interprets to generate code in real time. Note that we developed Bumblebee -before the advent of now-popular LLMs. Bumblebee reliably handles dynamic -websites and pop-ups. The user can access developer tools, override any part of -the script at any point during the session (using the embedded Scintilla.NET editor), debounce -events, and block hidden elements and scripts.
+before the advent of now-popular LLMs. Bumblebee supports dynamic websites, +pop-ups, developer tools, live manual override, event debouncing, and filtering +hidden elements and scripts.Before settling on a desktop application, we contemplated designing Bumblebee as a browser extension. We chose the desktop app because extensions don’t offer the deep, event-based control we needed. Besides, the company’s security policy, which prohibited browser extensions, would have complicated the -deployment of an extension-based solution. The initial prototype used a C# -wrapper of the Chromium project instead of WebView. WebView’s more intuitive -API and its seamless integration with Windows Forms led us to choose it over -the Chromium wrapper.
- -Bumblebee predictably reduced the time we spent on authoring scripts from hours -to a few minutes. Since the code generation rules were written and optimized by -experts in web technologies, the quality of the scripts improved as well.
+deployment of an extension-based solution. My first prototype used a C# binding +of the Chromium project. WebView’s more intuitive API and its seamless +integration with Windows Forms led us to choose it over the Chromium wrapper. + +What began as a personal side project to improve my own workflow enabled us to +collectively improve the quality of our web scripts at a much larger scale. +Bumblebee predictably reduced the time we spent on authoring scripts from hours +to a few minutes.
-- cgit v1.2.3