| Copyright | 2018 Automattic Inc. |
|---|---|
| License | GPL-3 |
| Maintainer | Nathan Bloomfield (nbloomf@gmail.com) |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.Api.WebDriver.Classes
Description
Synopsis
- class HasElementRef t where
- elementRefOf :: t -> ElementRef
- class HasContextId t where
- contextIdOf :: t -> ContextId
Documentation
class HasElementRef t where Source #
Types which carry a web element reference as described in https://www.w3.org/TR/webdriver/#elements.
Methods
elementRefOf :: t -> ElementRef Source #
Instances
| HasElementRef ElementRef Source # | |
Defined in Web.Api.WebDriver.Classes Methods elementRefOf :: ElementRef -> ElementRef Source # | |
class HasContextId t where Source #
Types which carry a window handle as described in https://www.w3.org/TR/webdriver/#command-contexts.
Methods
contextIdOf :: t -> ContextId Source #
Instances
| HasContextId ContextId Source # | |
Defined in Web.Api.WebDriver.Classes Methods contextIdOf :: ContextId -> ContextId Source # | |