Selenium IDE is meant for simple, recorded, automated, straight forward, Web testing tasks, such as open Web page, login, and form-flling. More complicated works are usually done with Selenium "Web Driver" where you "drive" it with another script language, such as PHP or Python. But there are ways to add simple condition and arrays to Selenium IDE: