Updating scripts from earlier Selenium IDE versions

You can use .html scripts that are recorded with version of Selenium IDE before version 3.12. You need to edit the .html scripts, and save them in the new .side format.

Use these considerations to edit your .html:

Procedure

If you want to interact with the Select2 element, do not use the select command (see Selenium IDE guide).

The old script is

<td>select</td> 
<td>id=country</td> 
<td>label=United States</td>

It can be changed to

<tr>
   <td>runScript</td>
   <td>window.scrollTo(0,810)</td>
   <td></td> 
</tr> 
<tr>
   <td>click</td>
   <td>id=select2-country-container</td>
   <td></td> 
</tr> 
<tr>
   <td>click</td>
   <td>xpath=(//ul[@id='select2-country-results']/li[text() = 'United States'])</td>
   <td></td> 
</tr>