end flow control - Selenium IDE
end - Selenium IDE command
end (formerly endWhile and endIf) is used with If/then and while loops.
while/end Example
The example below is very basic. Best if you see the while/end loop in action by running the DemoCsvSave macro that installs with the IDE. DemocsvSave uses while to loop over all cells in a table row and extract their values.
Command | Target | Pattern/Text |
---|---|---|
open | https://ui.vision/ | |
while | 100 > 5 | |
echo | This command is never reached! | |
end |
Works in
Ui.Vision RPA for Chrome Selenium IDE, Ui.Vision RPA for Firefox Selenium IDE, Firefox IDE Classic
Related Demo Macros
DemoIfElse, DemoCsvSave
The ready-to-import-and-run source code of all demo macros can be found in the Open-Source RPA software Github repository.
See also
gotoLabel, Label, storeEval, Web Automation Extension User Manual, Selenium IDE commands, Selenium IDE Flow Control (SelBlocks), Classic Firefox Selenium IDE.
Anything wrong or missing on this page? Suggestions?
...then please contact us.
