Web app for building Selenium automation flows using React and Tailwind CSS. Allows users to visually construct Selenium test scripts and generate executable Python code.
Clean form for entering the target website URL, Validation to ensure a proper URL is entered, Automatic initialization of the flow with a "Connect to Site" step
Dropdown menu with predefined Selenium actions, Dynamic form fields that change based on the selected action, Clear UI for configuring each action's parameters
Drag-and-drop reordering of steps, Collapsible step cards showing action details, Edit and delete functionality for each step
Real-time Python code generation, Syntax highlighting for better readability, Options to copy code or download as a .py file
The application is built using:
The application follows a component-based architecture:
selenium-flow-builder.tsx
)Manages the overall state of the application Coordinates between different sections Handles the flow of data between components
url-input.tsx
)Validates and processes the initial URL Triggers the flow initialization
action-builder.tsx
)Provides a UI for selecting and configuring actions Dynamically renders form fields based on the selected action Generates code snippets for each action
flow-visualizer.tsx
)Displays the sequence of steps in the automation flow Enables reordering through drag-and-drop Provides controls for editing and deleting steps
code-display.tsx
)Combines individual step code into a complete Python script Provides copy and download functionality Displays the code with proper syntax highlighting