I am trying to achieve the reset functionality in test cases where the automation tool used is selenium.
The scenario is, I have a test case,
Here, I have to make a retry on the commands starting from step 4 to step 7. Suppose, I have to retry these commands 2 times and once the control goes to step 7 and title is not present, I have to reset the driver execution status exactly to point step 4 and should be able to retry the same steps again.
I am not able to find a reset command from selenium documentation. Could anyone please help me to achieve the same?
Thanks in advance for all comments!