%%
Last Updated:
- [[2021-02-10]]
%%
## Using Selenium IDE
### Making Selenium IDE Loop X times
Download the Selenium IDE Flow Control addon. Once you have the `sideflow.js` file, you need to import it into Selenium IDE.
Open up IDE. Click Options > Options. In the field labelled _Selenium Core extensions_, browse for and select sideflow.js.
Put this code in the Source tab before any of the commands:
```
<tr>
<td>getEval</td>
<td>index=0</td>
<td></td>
</tr>
<tr>
<td>while</td>
<td>index<11</td>
<td></td>
</tr>
```
Change '1' in `index<1` depending on how many times you need the script to loop.
Put this code at the end of the code:
```
<tr>
<td>getEval</td>
<td>index++;</td>
<td></td>
</tr>
<tr>
<td>endWhile</td>
<td></td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
```