Debug
printLine : Str -> Task {} []
Write Str
to Stdout
followed by a newline.
Debug.printLine "Hello World"
wait : U64 -> Task {} []
Stops the test execution for specified amount of time.
timeout
- time in [ms]
# wait for 3s Debug.wait 3000
waitForEnterKey : Task {} []
Stops the test execution till the "enter" key is pressed in the terminal.
Debug.waitForEnterKey!
showElement : Element -> Task {} [ WebDriverError Str, JsReturnTypeError Str ]
Blink an Element
in the Browser
.
Can be useful for debugging and trouble shooting.
button |> Debug.showElement!
showElements : List Element -> Task {} [ WebDriverError Str, JsReturnTypeError Str ]
Blink a List
of Element
s in the Browser
.
Can be useful for debugging and trouble shooting.
checkboxes |> Debug.showElements!
showCurrentFrame : Browser -> Task {} [ WebDriverError Str, JsReturnTypeError Str ]
Blink the current active frame (iFrame or top level frame).
Can be useful for debugging and trouble shooting.
browser |> Debug.showCurrentFrame!