Last updated on October 8th, 2025 at 11:35 am
This guide will show you how to use the
typeandtypeAndWaitcommands in Selenium IDE to enter text into input fields during test execution. You’ll learn the key differences between these commands, when to use each, and how they behave in real testing scenarios.
“type” command
“type” command is useful for typing keyboard key values into text box of software web application. you can also use it for selecting values of combo box.
| New Test | ||
| Command | Target | Value |
| open | https://www.software-testing-tutorials-automation.com/ | |
| type | name=email | youremailid@mail.com |
| click | css=input[type=”submit”] | |
In this example, First it will type text “youremailid@mail.com” into text field “name=email” of software web page and then it will click on button element “css=input[type=”submit”]”.
“typeAndWait” command
“typeAndWait” command will be useful when your typing completed, software web page start reloading. This command will wait for software application page to reload. If there is not page reload event on typing, then you have to use simple “type” command.