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 Popup API

The Popup API deals with popups which the user can see.

This API is prefix with /popup.

Note: Selenium IDE displays one popup at a time, sending a new one will cancel the previous popup.

Because of this, if Selenium IDE returned false if means cancel, no action should be taken, because the popup might have been dismissed.

POST /popup/alert

Used to display alerts inside Selenium IDE.

This can get tiring and annoying for users, so use this lightly!

{
  uri: "/popup/alert",
  verb: "post",
  message: "message to show the user",
  cancel: "cancel label",
  confirm: "confirm label"
}
  • message - the message body.
  • cancel - optional, the cancel button text.
  • confirm - optional, the confirm button text.

Returns

Returns true if the confirm button was clicked, or false if the cancel button was clicked.

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