Liking cljdoc? Tell your friends :D

clj-webdriver.firefox


accept-untrusted-certsclj

(accept-untrusted-certs profile bool)

Set whether or not Firefox should accept untrusted certificates.

Set whether or not Firefox should accept untrusted certificates.
sourceraw docstring

enable-extensionclj

(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.
sourceraw docstring

enable-native-eventsclj

(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).
sourceraw docstring

is-runningclj

(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
sourceraw docstring

jsonclj

(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`
sourceraw docstring

new-profileclj

(new-profile)
(new-profile profile-dir)

Create an instance of FirefoxProfile

Create an instance of `FirefoxProfile`
sourceraw docstring

profile-from-jsonclj

(profile-from-json json)

Instantiate a new FirefoxProfile from a proper JSON representation.

Instantiate a new FirefoxProfile from a proper JSON representation.
sourceraw docstring

set-preferencesclj

(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.
sourceraw docstring

write-to-diskclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close