After searching diligently, I was unable to locate a solution to the question at hand. My goal is to utilize Selenium to click on a button; however, the button ID changes dynamically after each press. Ideally, I would like to be able to click the button using its value. Unfortunately, with Selenium IDE, the Firefox extension, I am unsure of the steps to achieve this. Below is the code snippet for the button that I am trying to interact with using Selenium.
<input id="move247957048" type="button" style="width: 120px" value="Sacred Sword">
The input ID "move" in the code above alters every time I press the button. Every part changes except for the initial digit, which is always 2. With Selenium, I am perplexed about how to navigate this changing ID and click the button using its value. This challenge is even more daunting due to the repetitive nature of the task, which requires handling it multiple times.