1
1
mirror of https://github.com/aelve/guide.git synced 2025-01-03 19:19:11 +03:00

Comment out unused ToSelector

This commit is contained in:
Artyom 2017-01-31 00:54:38 +03:00
parent 26b2d80520
commit 02bae19083
No known key found for this signature in database
GPG Key ID: B8E35A33FF522710

View File

@ -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