Skip to main content

Saved Scripts

The Saved Scripts section of the Herbie Chrome extension allows users to save, manage, edit, and retrieve scripts and recorded actions. This feature is particularly useful for users who need to reuse or modify existing scripts for automation tests.

Overview

In the Saved Scripts section, users can view a list of all previously saved scripts and recordings. Each script is displayed with the following elements:

  • Title: A user-defined or default name for the script, which is editable.
  • Timestamp: The date and time when the script was saved.
  • Script Content: The detailed list of commands and actions saved in the script.

How to Save a Script

From the Herbie Section

  1. Compose Your Script:

    • Write your automation script in the Script field within the Herbie section.
  2. Save the Script:

    • Click the Yellow Save Button located near the top of the Herbie section. This action will save the content currently present in the Script field.
  3. Access Saved Scripts:

    • Navigate to the Saved Scripts tab to view the script you just saved. The script will appear in the list with a timestamp indicating when it was saved.

From the Record Section

  1. Navigate to the Record Section:

    • Switch to the Record tab to access your recorded actions.
  2. Save Recorded Actions:

    • After completing your recording, click on the Save Actions button. This will save the recorded steps as a script in the Saved Scripts section.
  3. View and Manage:

    • Go to the Saved Scripts tab to review, modify, or execute the saved recording.

Editing Script Titles

You can easily rename a script title directly in the Saved Scripts section:

  1. Click on the Title:

    • Click on the title of the script (e.g., "Untitled").
  2. Edit the Title:

    • Modify the title as needed.
  3. Save the Title:

    • Click anywhere outside the title field to automatically save the new name.

Managing Saved Scripts

In the Saved Scripts tab, each saved script includes the following functionalities:

  • Download Icon: Click this icon to navigate to the Herbie or Record tab, depending on where the script was originally saved. This allows you to quickly access and run or modify the script in its respective section.
  • Delete Icon: Enables you to permanently remove a script from the saved list.

Importing Scripts

  • Use the Import Button to bring in scripts from external sources. This feature supports importing compatible script files into your Saved Scripts list.