Selenium IDE

Selenium IDE

  • Docs
  • API
  • Plugins
  • Blog
  • Help

›API Reference

Introduction

  • Getting Started
  • Selenium IDE Extension ID
  • Health Checks

Concepts

  • Requests
  • Error Handling
  • Emitting Code
  • Exporting Code

Extending the IDE

  • Adding Commands
  • IDE Events
  • Emitting Setup & Teardown

API Reference

  • Introduction
  • System
  • Playback
  • Record
  • Popup
  • Export

Plugins Record API

The Record API is concerned with the recording capabilities of Selenium IDE.

This API is prefix with /record.

GET /record/tab

Gets the tabId that the recorder is currently attached to (can be used even if not currently recording).

{
  uri: "/record/tab",
  verb: "get"
}

Returns

An object containing the id of the tab, or an error if no tab is attached.

POST /record/command

Adds a command to the currently recording test case.

{
  uri: "/record/command",
  verb: "post",
  command: "the command id",
  target: "an initial target",
  value: "an initial value",
  select: true || false
}
  • command - the command ID to insert per the manifest.
  • target - an initial target for the command.
  • value - an initial value for the command.
  • select - true or false, wether to turn on the target selector after adding the command, can only be used in conjunction with the command type.

Returns

Returns true if the command was added.

Last updated on 2/19/2019
← PlaybackPopup →
Selenium IDE
Docs
Getting StartedAPI ReferenceBuild a Plugin
Community
Slackirc (#selenium)Google group
More
BlogGitHubStarLegacy IDE
Copyright © 2019 Software Freedom Conservancy (SFC)