module Test.WebDriver.Utils where import Data.Text (Text) import Data.Text.Encoding as TE import qualified Network.HTTP.Types.URI as HTTP urlEncode :: Text -> Text urlEncode :: Text -> Text urlEncode = ByteString -> Text TE.decodeUtf8 forall b c a. (b -> c) -> (a -> b) -> a -> c . Bool -> ByteString -> ByteString HTTP.urlEncode Bool False forall b c a. (b -> c) -> (a -> b) -> a -> c . Text -> ByteString TE.encodeUtf8