From 02bae19083bf588578f33d9c9a713cccc4d63e6b Mon Sep 17 00:00:00 2001 From: Artyom Date: Tue, 31 Jan 2017 00:54:38 +0300 Subject: [PATCH] Comment out unused ToSelector --- tests/Selenium.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Selenium.hs b/tests/Selenium.hs index 4424488..00e2274 100644 --- a/tests/Selenium.hs +++ b/tests/Selenium.hs @@ -303,12 +303,14 @@ instance CanSelect ComplexSelector where Displayed -> anyM (andNotDead . isDisplayed) es _ -> defAnyElem s es +{- class ToSelector a where toSelector :: a -> Selector instance ToSelector Selector where toSelector = id instance ToSelector Text where toSelector = ByCSS +-} -- | Ensure that the element is the only element matching the selector. select :: CanSelect a => a -> WD Element