spec/test.html in rautomation-0.3.0 vs spec/test.html in rautomation-0.4.0
- old
+ new
@@ -1,13 +1,15 @@
<html>
<head>
<title>RAutomation testing page</title>
<script type="text/javascript">
function showPrompt() {
- prompt("Where do you want to go today?");
+ if (prompt("Where do you want to go today?")) {
+ showPrompt();
+ }
}
</script>
</head>
<body onload="setTimeout(showPrompt, 1000)">
<h1>RAutomation testing page</h1>
</body>
-</html>
\ No newline at end of file
+</html>