Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium IDE - waitForTextPresent

I have a problem with Selenium IDE's command - waitForTextPresent.

<tr>
<td>waitForTextPresent</td>
<td>*saved successfully</td>
<td></td>
</tr>

I had a couple of tests which are using this command. All tests worked fine, but now, during executing this command web application freeze, after while Firefox crashed, whole Firefox freezed and i received from Selenium IDE timeout exception after a while. So my question is, why is it happening? I didn't change tests or selenium settings.

One time I received error: A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue. Script: chrome://selenium-ide/content/…nium-core/scripts/htmlutils.js:679

Windows 7 Firefox 38.0.5 Selenium IDE: 2.8.0 I am using couple of add-ons related to Selenium (e.g.: Sel Block).

like image 382
madeja peter Avatar asked Mar 18 '26 20:03

madeja peter


1 Answers

waitForTextPresent is a deprecated command, try using just waitForText with a CSS locator as the target, and the '*saved successfully' bit as the value.

like image 116
Jsmith2800 Avatar answered Mar 22 '26 12:03

Jsmith2800