module Web.Api.WebDriver.Classes (
HasElementRef(..)
, HasContextId(..)
) where
import Web.Api.WebDriver.Types
class HasElementRef t where
elementRefOf :: t -> ElementRef
instance HasElementRef ElementRef where
elementRefOf :: ElementRef -> ElementRef
elementRefOf = ElementRef -> ElementRef
forall a. a -> a
id
class HasContextId t where
contextIdOf :: t -> ContextId
instance HasContextId ContextId where
contextIdOf :: ContextId -> ContextId
contextIdOf = ContextId -> ContextId
forall a. a -> a
id