storeTitle (target, pattern) - Selenium IDE command

The storeTitle command stores the title of current opened software web application in a variable.

A similar command from the old Firefox is "storeLocation". It is useful to store current selected window's URL. This command can be recreated in the Kantu IDE by using store | ${!URL} | myurl or simply using the ${!URL} built-in variable directly in your software test cases.

storeTitle Example

Command Target Pattern/Text
open https://a9t9.com/
storeTitle mytitle
echo The page title is ${mytitle}

Works in

Kantu for Chrome Selenium IDE, Firefox IDE Classic

Related Demo Macros

Demo-StoreEval

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

See also

storeText, 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.