highlight - Selenium IDE
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.".
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.
|click [AND HIGLIGHT!]||link=Free Web Automation||Free Web Automation|
|assertText [AND HIGLIGHT!]||link=Free Web Automation||Free Web Automation|
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.
Anything wrong or missing on this page? Suggestions?
...then please contact us.