Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions and types for working with Google Chrome extensions.
Synopsis
- data ChromeExtension
- loadExtension :: MonadBase IO m => FilePath -> m ChromeExtension
- loadRawExtension :: ByteString -> ChromeExtension
Documentation
data ChromeExtension Source #
An opaque type representing a Google Chrome extension. Values of this type
are passed to the chromeExtensions
field.
Instances
FromJSON ChromeExtension Source # | |
Defined in Test.WebDriver.Chrome.Extension parseJSON :: Value -> Parser ChromeExtension # parseJSONList :: Value -> Parser [ChromeExtension] # | |
ToJSON ChromeExtension Source # | |
Defined in Test.WebDriver.Chrome.Extension toJSON :: ChromeExtension -> Value # toEncoding :: ChromeExtension -> Encoding # toJSONList :: [ChromeExtension] -> Value # toEncodingList :: [ChromeExtension] -> Encoding # | |
Read ChromeExtension Source # | |
Defined in Test.WebDriver.Chrome.Extension | |
Show ChromeExtension Source # | |
Defined in Test.WebDriver.Chrome.Extension showsPrec :: Int -> ChromeExtension -> ShowS # show :: ChromeExtension -> String # showList :: [ChromeExtension] -> ShowS # | |
Eq ChromeExtension Source # | |
Defined in Test.WebDriver.Chrome.Extension (==) :: ChromeExtension -> ChromeExtension -> Bool # (/=) :: ChromeExtension -> ChromeExtension -> Bool # |
loadExtension :: MonadBase IO m => FilePath -> m ChromeExtension Source #
Load a .crx file as a ChromeExtension
.
loadRawExtension :: ByteString -> ChromeExtension Source #
Load raw .crx data as a ChromeExtension
.