Skip to content

Commit

Permalink
undo this show related change in waitEither
Browse files Browse the repository at this point in the history
can't trigger the difference, if i find out what it was it can come back
  • Loading branch information
dten committed Dec 12, 2023
1 parent 7c8f583 commit 955bc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Test/WebDriver/Commands/Wait.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ waitEither failure success = wait' handler
handleFailedCommand e@(FailedCommand NoSuchElement _) = return . Left . show $ e
handleFailedCommand err = throwIO err

handleExpectFailed (ExpectFailed e) = return . Left $ e
handleExpectFailed (e :: ExpectFailed) = return . Left . show $ e

wait' :: (WDSessionStateIO m, HasCallStack) =>
((String -> m b) -> m a -> m b) -> Int -> Double -> m a -> m b
Expand Down

0 comments on commit 955bc2a

Please sign in to comment.