The Automation Tool Chrome Extension is a lightweight popup interface that connects to a Python backend server to manage and execute browser automation scripts with Playwright. It also allows launching Playwright Codegen sessions directly from your browser.
-
Server Configuration
- Enter and save the Python server URL.
- Automatically loads available scripts from the server on popup open.
-
Script Selection
- Choose a predefined script from a dropdown.
- Optionally write a custom script name.
- The input field is dynamically enabled for custom scripts.
-
Run Scripts
- Runs the selected or custom script.
- Optionally sends a URL to the server for browser automation.
- Launches Playwright Codegen sessions for recording automated flows.
-
Refresh Scripts
- Reloads the script list from the server without reopening the popup.
-
Delete Scripts
- Delete predefined scripts from the server directly from the extension.
- Confirmation prompt prevents accidental deletion.
-
Status Feedback
- Real-time status updates in the popup for loading, running, errors, and completion.
-
Documentation Link
- Quick access to Playwright Codegen docs.
- The extension fetches scripts from the Python server when opened.
- Users select a script or enter a custom script name.
- The extension sends a
POSTrequest to the server to run the script or launch Codegen. - The server executes the script and returns a status message.
- Users can delete scripts from the server without leaving the extension popup.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer Mode in the top-right corner.
- Click Load unpacked and select the extension folder containing:
popup.htmlpopup.js- Any other assets like icons or CSS.
- Pin the extension to your toolbar for easy access.
- Click the extension icon to open the popup.
- Enter your Python server URL (e.g.,
http://127.0.0.1:8000). - Select a script from the dropdown or choose Write custom script....
- Enter a URL for Codegen or scripts that require it.
- Click Run to execute the script.
- Use Refresh Scripts to reload the list of available scripts.
- Use Delete Selected Script to remove a predefined script from the server.
- Add authentication for multi-user environments.
- Show inline delete buttons next to each script for faster management.
- Add tooltips or descriptions for each script.
- Log script execution results in the extension for easier debugging.
This extension is open source under the MIT License.