(String alertText)
| 60 | } |
| 61 | |
| 62 | private String alertPage(String alertText) { |
| 63 | return appServer.create( |
| 64 | new Page() |
| 65 | .withTitle("Testing Alerts") |
| 66 | .withBody( |
| 67 | "<a href='#' id='alert' onclick='alert(\"" + alertText + "\");'>click me</a>")); |
| 68 | } |
| 69 | |
| 70 | private String promptPage(String defaultText) { |
| 71 | return appServer.create( |
no test coverage detected