HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulewebdriver-0.15.0.0Haskell2010

Test.WebDriver.Profile

A type for profile preferences. These preference values are used by both Firefox and Opera profiles.

  • 4 types
  • 1 class
  • 11 values

Profiles and profile preferences

3 declarations
datadata Profile b
#

This structure allows you to construct and manipulate profiles. This type is shared by both Firefox and Opera profiles; when a distinction must be made, the phantom type parameter is used to differentiate.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata ProfilePref
#

A profile preference value. This is the subset of JSON values that excludes arrays, objects, and null.

Instances5Eq, Show, FromJSON, ToJSON, ToPref
classclass ToPref a where
#

A typeclass to convert types to profile preference values

Methods

Instances19ToPref, …
  • ToPref StringDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref IntegerDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Int16Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Int32Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Int64Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Int8Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref BoolDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref DoubleDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref FloatDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref IntDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref WordDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Word16Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Word32Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Word64Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref Word8Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref TextDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • ToPref ProfilePrefDefined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • Integral a => ToPref (Ratio a)Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile
  • HasResolution r => ToPref (Fixed r)Defined in webdriver-0.15.0.0 · Test.WebDriver.Profile

Preferences

3 declarations
valuedeletePref :: Text -> Profile b -> Profile b
#

Delete an existing preference entry from a profile. This operation is silent if the preference wasn't found.

Extensions

1 declaration
valuehasExtension :: String -> Profile b -> Bool
#

Determines if a profile contains the given extension. specified as an .xpi file or directory name

Miscellaneous profile operations

3 declarations

Profile errors

1 declaration

Firefox

5 declarations

Load an existing profile from the file system. Any prepared changes made to the Profile will have no effect to the profile on disk.

To make automated browser run smoothly, preferences found in defaultFirefoxProfile are automatically merged into the preferences of the on-disk profile. The on-disk profile's preference will override those found in the default profile.