A powerful browser Extension that records your Chrome and Firefox browser interactions and automatically generates production-ready Reqnroll (Gherkin) feature files and Selenium C# step definitions.
Features
- Record & Playback: Captures clicks, typing, navigation, and special keys (Enter).
- Smart Selectors: Automatically finds the best, most robust selector.
- Auto-Generation: Instantly creates
.featureand.csfiles ready for your test project. - Robust Code: Generates C# code with built-in
WebDriverWaitand hover handling for stability. - Session Management: Persists recording state even if you close the popup or reload the page.
- Clone this repository.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode (top right).
- Click Load unpacked.
- Select the
ReqnrollRecorderExtensionfolder from this project.
- Click the extension icon, enter a Feature Name (e.g.,
Login), and hit 'Start Recording'. - Browse your website as a user would. The extension captures your actions in the background.
- Click the extension icon again and hit 'Stop & Generate'.
- Two files will automatically download:
Login.feature: The Gherkin scenarios.LoginSteps.cs: The C# automation code. - Drop these files into your Reqnroll project and run your tests!
A compatible Reqnroll test project template is available (if you moved it) or can be created with:
dotnet new reqnroll -n ReqnrollRecorderTests
dotnet add package Selenium.WebDriver- Frontend: HTML5, CSS3, Vanilla JavaScript
- Extension API: Chrome Extensions Manifest V3
- Automation: Selenium WebDriver, Reqnroll (Gherkin)