Skip to main content
Skip table of contents

Web Recorder

Overview

The Web Recorder v1 is a tool integrated into the Script Editor to capture user interactions within web applications. This version supports a subset of actions and is optimized for browser-based apps. Some features are still under development, and related limitations are described in the related section of the instructions.

For general information on the Script Recorder and related use cases, see Using the Script Recorder.

For an overview of Playwright functions, the specific commands used to automate and interact with web applications using Web Recorder v1, see the Web Recorder Functions (Playwright).

Getting Started

Download the latest Script Editor package containing the Web Recorder v1 from your admin or setup email. For details, see Downloading and installing the Script Recorder.

Creating a New Login Enterprise Application

  1. In Script Editor, click Create New Application.

Frame 1124.png
  1. Click the browse button, and select a location on your laptop where to save the script.

Frame 1164 (1).png
  1. In the Select application type, select Browser application.

  2. Next to Use new web recorder script template, enable the toggle to use the Web Recorder.

  3. In the URL, enter the start page of your web application.

  4. In the Browser, select your preferred browser, e.g., Chrome.

  5. In Browser arguments (Optional), configure how the browser starts by entering command-line arguments, if needed. For example, you can add flags to enable specific features or disable extensions. For more information, see Using Browser Arguments via a Magic Comment.

  6. In the Profile location (Optional) field, enter a custom path for storing the browser profile if your environment requires centralized management or compliance-related configurations. Otherwise, leave this field blank.

  7. Click Create to generate the script template. Once the template is created, the Record button appears; click it to start the new recording session.

Frame 1265.png

The Web Recorder uses the default browser installed on your machine.

Recording Actions

  1. Click Record in the Script Editor toolbar to begin recording.

Frame 1268 (1).png
  1. Supported actions:

    • Mouse scroll

    • Left click

    • Right click (Browser context menu clicks are not supported)

    • Double click

    • Typing and special keys (Enter, arrows, etc.)

    • Hover actions using the hotkey Alt + H

    • Browser JavaScript popups (alert, confirm, prompt)

    • Interactions within iFrames

    • Browser arguments

  2. When hover capture is enabled, all hover events are recorded until you disable it. Use this feature carefully, as there are no visual indicators when it is active. Hovering over an element before enabling the hotkey will not capture it; you must move away and back.

  3. You can adjust waits and timeouts after the recording is complete and before generating the script. By default, the recorder applies a 2-second wait and a 5-second timeout to each step. You can change these default values in the General Settings, or modify them per step by expanding the step and updating the values manually.

Using Browser Arguments via a Magic Comment

You can pass arguments to the browser by using a magic comment in your script. This allows you to control how the browser behaves during recording and playback.

The most common use cases include:

  • Recording and playing back web applications in incognito or private mode.

  • Recording and playing back with the browser window maximized.

This feature also supports any other valid browser arguments.

How to Use

Insert the magic comment at the top of your script with the appropriate browser arguments. See the screenshot below for an example.

Browser arguments may vary depending on the browser type.

Make sure to use the format required by your browser.

Examples

Chrome

CODE
--incognito --start-maximized

Edge

CODE
--inprivate --start-maximized
Frame 1263.png

Stopping and Exporting

  1. Click Stop to end the recording.

  2. The recorded script appears in the ScriptResultWindow.

Frame 1550.png

Settings

You can adjust general settings and settings specific to each action. General settings apply to all actions. Per-action settings apply only to the chosen action.

Possible General Settings

  • Waits: Adds a pause after each recorded step in the script.

  • CPM (Characters Per Minute): Adjusts typing speed. The default is 300 characters per minute. If you leave this box unchecked, the default value will be used. If you select this checkbox, the CPM value will appear in the script.

  • Timeout: Specifies how long the script will attempt to locate the recorded UI element before a timeout occurs and the script stops. The default timeout is 5 seconds. You can set a different timeout value in the corresponding field if needed.

Frame 1551.png

Possible Settings per Action

  • Typing

    • Waits

    • CPM

  • All Other

    • Waits

    • Timeout

Frame 1266.png
  1. Click Generate Script in the top-right corner of the window, then click Copy to Clipboard.

Frame 1130.png
  1. Paste the recorded script between the StartBrowser and StopBrowser functions.

  2. Click Run to execute the script.

Frame 1129 (1).png

Exporting a Script as JSON

This option provides additional information on script failures, facilitating feedback submission and analysis.

Frame 155.png

Importing a Script as JSON

Alternatively, if you already have an existing script recording (JSON file), click Import recording in the Script Recorder top menu and proceed with the steps described above.

Frame 221.png

If you have questions or need additional information on specific Script Recorder functions, feel free to get in touch with our support at support@loginvsi.com

Restrictions and Limitations

Aspect

Details

Supported applications

Browser-based only. Browser apps such as Teams and Spotify are not supported.

Supported functions

Not all functions are supported in the new template. For details, see the Web Recorder Functions (Playwright).

Framework used

Uses the Playwright framework. Mixing Playwright scripts with Selenium or WinApps scripts is unsupported.

Missing features

Run and record toggle, click coordinate settings, and mouse movement playback (from WinApps recorder).

Unsupported actions

Mouse drag, multi-tab recording, right-click browser menu, key combinations (e.g., Ctrl+C/V).

UI feedback

No blinking highlights on components during recording.

Wildcard selectors

Not supported.

Web Recorder script template

Code snippets captured by X-Ray are not supported.

Recommendations

Recommendation

Explanation

Browser installation

The Web Recorder will use the browser installed on the machine where the script is run. To ensure reliable playback, make sure a supported browser is installed on all machines where the test will run.

Script management

Export and import scripts regularly.

Script compatibility

Avoid mixing different script engines and script types within your projects.

Cookie pop-ups

We recommend waiting a few seconds before interacting with cookie pop-ups, as the recorder may need time to detect them.

Hover recording

Alt + H captures the hover action for the element your cursor is on at the moment you press the hotkey. Place your cursor on the desired element and press Alt + H to record the hover.

Please remember, this is a v1 tool of the Web Recorder; some features will be added or improved in future releases.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.