summaryrefslogtreecommitdiffstats
path: root/_projects/bumblebee.md
blob: ef38b2f317ace3ee9aafd15645562e90cde7b565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
title: "Bumblebee: browser automation"
date: 2025-04-02
author: Wickramage Don Sadeep Madurange
thumbnail: thumb.png
layout: post
---

Bumblebee is a web browser that converts browser sessions into C# scripts for
playback. It eliminates the need for authoring browser automation scripts.

<video style="max-width:100%; margin-bottom: 10px" controls="" poster="thumb.png">
  <source src="bee.mp4" type="video/mp4">
</video>

Bumblebee is a Windows Forms application written in C#. Web content is rendered
by the embedded Microsoft Edge browser (via WebView). The text editor on the
right is <a src="https://github.com/desjarlais/Scintilla.NET" class="external"
target="_blank" rel="noopener noreferrer">Scintilla.NET</a>. Users can
override the generated script at any point during the session. The users can
configure Bumblebee to debounce events, ignore hidden elements, etc.

Bumblebee works by injecting a custom JavaScript program that tracks user
interactions. The tracker intercepts and sends them to the Bumblebee backend as
events for analysis. In addition to the front-end events, Bumblebee also
intercepts events internal to the web browser, which it then interprets to
generate C# code for the Selenium WebDriver in real time.