gotoLabel (label) - Selenium IDE command

gotoLabel jumps to defined label. It is used to jump over a section that you do not want to execute, typically a part that is reached only with gotoIf.

Flow control logic is a regular Ui.Vision RPA Selenium IDE feature. In the classic Selenium IDE you can add support for flow control by installing the Flow Control plugin.

gotoLabel Example

The example below is very basic. Best if you see the flow logic in action by running the DemoGotoIf macro that installs with the IDE.

Command Target Pattern/Text
open https://ui.vision/
gotoLabel MYLABEL
echo This line is never reached
Label MYLABEL

Works in

Ui.Vision RPA for Chrome Selenium IDE, Ui.Vision RPA for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

DemoGotoIf, 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

gotoIf, Label, while, endWhile, 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.

<em>Ui.Vision RPA</em> Selenium IDE for Chrome and Firefox - Web Test Automation

Fresh from the Ui.Vision Forum: The Latest 3 Topics. Join the discussions:

← Meet the Ui.Vision team and users in our forums.