justgook/elm-webdriver/1.0.0

NOTE: the latest version is 1.0.2

WebDriver.Assert

custom : (a -> String) -> a -> a -> Task String a

Checks if both values is same, and if not fails with fail function

fail : a -> e -> Task e b

Throws an Assertion Error

equal : String -> String -> Task String String

Passes if the arguments is same strings.

equalInt : Int -> Int -> Task String Int

Passes if the arguments is same Int.

true : String -> Bool -> Task String Bool

Passes if the argument is 'True', and otherwise fails with the given message.

false : String -> Bool -> Task String Bool

Passes if the argument is 'False', and otherwise fails with the given message.

atLeast : Int -> Int -> Task String Int

Passes if the second argument is greater than or equal to the first.

greaterThan : Int -> Int -> Task String Int

Passes if the second argument is greater than the first.