UNPKG
kazana-example
Version:
latest (2.12.0)
2.12.0
2.11.0
2.10.6
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.2
2.9.1
2.9.0
2.8.3
2.8.2
2.8.1
2.8.0
2.7.0
2.6.2
2.6.1
2.6.0
2.5.0
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.0.0
Kazana example app
github.com/eHealthAfrica/kazana-example
eHealthAfrica/kazana-example
kazana-example
/
test
/
utils
/
commands
/
wait-for-alert.js
13 lines
(12 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
module
.
exports
=
function
(
client, url
) {
return
function
(
) {
return
client.
waitUntil
(
function
(
) {
return
client.
alertText
() .
then
(
function
(
text
) {
return
text },
function
(
) {
return
false
}) }) } }