Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

The new Selenium IDE is designed to record your interactions with websites to help you generate and maintain site automation, tests, and remove the need to manually step through repetitive takes.

Features include:

  • Recording and playing back tests on Firefox and Chrome.
  • Organizing tests into suites for easy management.
  • Saving and loading scripts, for later playback.
  • Support for Selenium 3.

Installation

Install the chrome plugin

https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd/related

https://ui.vision/rpa/docs/selenium-ide/executescript

Using the Plugin

Opening the Plugin

Once installed, you can find the plugin by clicking the puzzle piece in the top right hand corner of your browser.


Open up the IDE by clicking Selenium IDE from the list. 


Recording 

Start a recording by clicking "Record a new test in a new project"

Add a URL and click Start Recording. At the bottom of your screen, you should see that a recording has begun.


In a pop-out window, you should see the recording. Click the STOP icon in the top right corner to stop recording.

Now that you have saved your recording, you can modify it and replay.

Commands

https://www.selenium.dev/selenium-ide/docs/en/api/commands

https://ui.vision/rpa/docs/selenium-ide

Examples

Wait for a appointment

CommandTargetValue
do

pause10000
open/src/
set window size1417x1181
clickid=select-service
selectid=select-service
execute scriptreturn document.getElementById("wizard-frame-2").style.display != "none";aptAvail
repeat if${aptAvail}==false
execute scriptvar audio = new Audio("https://www.myinstants.com/media/sounds/jeopardy.mp3"); audio.play();
execute scriptalert("BOOK YOUR APT");


References