(accept-untrusted-certs profile bool)
Set whether or not Firefox should accept untrusted certificates.
Set whether or not Firefox should accept untrusted certificates.
(enable-extension profile extension)
Given a FirefoxProfile
object, enable an extension. The extension
argument should be something clojure.java.io/as-file will accept.
Given a `FirefoxProfile` object, enable an extension. The `extension` argument should be something clojure.java.io/as-file will accept.
(enable-native-events profile bool)
Set whether or not native events should be enabled (true by default on Windows, false on other platforms).
Set whether or not native events should be enabled (true by default on Windows, false on other platforms).
(is-running profile profile-dir)
Return true if the profile in the given profile-dir
is the one running
Return true if the profile in the given `profile-dir` is the one running
(json profile)
Return JSON representation of the given profile
(can be used to read the profile back in via profile-from-json
Return JSON representation of the given `profile` (can be used to read the profile back in via `profile-from-json`
(new-capabilities capabilities)
Instantiate a new Firefox Capabilities object.
Instantiate a new Firefox Capabilities object.
(new-profile)
(new-profile profile-dir)
Create an instance of FirefoxProfile
Create an instance of `FirefoxProfile`
(profile-from-json json)
Instantiate a new FirefoxProfile from a proper JSON representation.
Instantiate a new FirefoxProfile from a proper JSON representation.
(set-preferences profile pref-map)
Given a FirefoxProfile
object and a map of preferences, set the preferences for the profile.
Given a `FirefoxProfile` object and a map of preferences, set the preferences for the profile.
(write-to-disk profile)
Write the given profile to disk. Makes sense when building up an anonymous profile via clj-webdriver.
Write the given profile to disk. Makes sense when building up an anonymous profile via clj-webdriver.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close