...
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"
...
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
Command | Target | Value |
---|---|---|
do | ||
pause | 10000 | |
open | /src/ | |
set window size | 1417x1181 | |
click | id=select-service | |
select | id=select-service | |
execute script | return document.getElementById("wizard-frame-2").style.display != "none"; | aptAvail |
repeat if | ${aptAvail}==false | |
execute script | var audio = new Audio("https://www.myinstants.com/media/sounds/jeopardy.mp3"); audio.play(); | |
execute script | alert("BOOK YOUR APT"); |
References
References | URL |
---|---|
Chrome Plugin | https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd/related |
API | https://www.selenium.dev/selenium-ide/docs/en/api/commands |
API Commands | |
Sample Script |