Small test when waiting for a particular text to come.

!-
<p id="showme" style="display: none">Hi there!</p>
<script type="text/javascript">
 setTimeout(function() {
  document.getElementById("showme").removeAttribute("style");
}, 4000);
</script>
-!

!| script | selenium driver fixture |
| start browser | firefox | on url | http://localhost:8000/ |
| do | open | on | /FrontPage |
| ensure | is | verifyTextPresent | on | image below |
| ensure | do | waitForText | on | css=h1 | with | !-FrontPage-! |
| stop browser |

Small test when waiting for a particular text to come.

!-
<p id="showme" style="display: none">Hi there!</p>
<script type="text/javascript">
 setTimeout(function() {
  document.getElementById("showme").removeAttribute("style");
}, 4000);
</script>
-!

!| script | selenium driver fixture |
| start browser | firefox | on url | http://localhost:${FITNESSE_PORT}/ |
| do | open | on | /FrontPage |
| ensure | is | verifyTextPresent | on | image below |
| ensure | do | waitForText | on | css=h1 | with | !-FrontPage-! |
| stop browser |

Use Fitnesse port instead of hardcoded port.
Use Fitnesse port instead of hardcoded port.
