highlight (locator) - Selenium IDE command

The highlight command was defined as Highlight the specified element. Briefly changes the background Color of the specified element to yellow. Useful for debugging. command is no longer needed. . With the new IDE this commands is no longer needed as IDE highlights all found elements by default. You can disable the automatic highlighting during replay in the settings.".

highlight Example

The example below does not contain any highlight command - but the elements defined by the locators of click and assertText are automatically highlighted during replay. For debugging macros, note that you can also reduce the replay speed in the IDE settings.

Command Target Pattern/Text
open https://a9t9.com/
click [AND HIGLIGHT!] link=Free Web Automation Free Web Automation
assertText [AND HIGLIGHT!] link=Free Web Automation Free Web Automation

Works in

Kantu for Chrome Selenium IDE, Kantu for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

All macros show this effect.

The ready-to-import-and-run source code of all demo macros can be found in the Github repository testmacros folder.

See also

storeEval, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

Kantu Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.