Modulewebdriver-0.12.0.1Haskell2010
Test.WebDriver.Commands.Internal
Internal functions used to implement the functions exported by Test.WebDriver.Commands. These may be useful for implementing non-standard webdriver commands.
- 4 types
- 4 values
- Packagewebdriver-0.12.0.1
- Exports9
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Low-level webdriver functions
1 declarationCommands with :sessionId URL parameter
This a convenient wrapper around doCommand that automatically prepends the session URL parameter to the wire command URL. For example, passing a URL of "refresh" will expand to "session:sessionIdrefresh", where :sessionId is a URL parameter as described in https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
An opaque identifier for a WebDriver session. These handles are produced by the server on session creation, and act to identify a session in progress.
Instances6Eq, Ord, Read, Show, FromJSON, ToJSON
Eq SessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.SessionOrd SessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.SessionRead SessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.SessionShow SessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.SessionFromJSON SessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.SessionToJSON SessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.Session
Commands with element :id URL parameters
A wrapper around doSessCommand to create element URLs. For example, passing a URL of "/active" will expand to "session:sessionIdelement:id/active", where :sessionId and :id are URL parameters as described in the wire protocol.
Instances6Eq, Ord, Read, Show, FromJSON, ToJSON
Eq ElementDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalOrd ElementDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalRead ElementDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalShow ElementDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalFromJSON ElementDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalToJSON ElementDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.Internal
Commands with :windowHandle URL parameters
A wrapper around doSessCommand to create window handle URLS. For example, passing a URL of "/size" will expand to "session:sessionIdwindow:windowHandle/", where :sessionId and :windowHandle are URL parameters as described in the wire protocol
An opaque identifier for a browser window
Constructors
Instances7Eq, Ord, Read, Show, FromJSON, ToJSON, …
Eq WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalOrd WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalRead WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalShow WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalFromJSON WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalToJSON WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalDefault WindowHandleDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.Internal
A special WindowHandle that always refers to the currently focused window. This is also used by the Default instance.
Exceptions
1 declarationA command requiring a session ID was attempted when no session ID was available.
Constructors
Instances3Eq, Show, Exception
Eq NoSessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalShow NoSessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.InternalException NoSessionIdDefined in webdriver-0.12.0.1 · Test.WebDriver.Commands.Internal