This is taken from Website for learning purpose.
- Make new user-extension.js file and put in C:/ drive [or any drive you like].
- Write this code LINK in that and save it.
- Now open firefox and go to Gmail.com
- take xpath of Username field [//*[@id=’Email’]]
- Now start Selenium IDE and add user-extension.js file and restart it.
- Take HTML code from Link and paste into Selenium IDE Source tab.
- Now Run this and check Gmail Username field.
A email has been added.