Liking cljdoc? Tell your friends :D

etaoin.driver

Some utilities to work with driver's data structure.

Links for development:

Firefox command line flags: /Applications/Firefox.app/Contents/MacOS/firefox-bin --help

Chrome binary path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

Chrome CLI args: https://peter.sh/experiments/chromium-command-line-switches/

Chrome capabilities: https://sites.google.com/a/chromium.org/chromedriver/capabilities

Firefox capabilities: https://github.com/mozilla/geckodriver/#firefox-capabilities

Firefox profiles: https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

Safari endpoints https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/WebDriverEndpointDoc/Commands/Commands.html

Edge capabilities and endpoints https://docs.microsoft.com/en-us/microsoft-edge/webdriver

JSON Wire protocol (obsolete) https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol

Selenium Python source code for Firefox https://github.com/SeleniumHQ/selenium/blob/master/py/selenium/webdriver/firefox/options.py

Some utilities to work with driver's data structure.

Links for development:

Firefox command line flags:
/Applications/Firefox.app/Contents/MacOS/firefox-bin --help

Chrome binary path:
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

Chrome CLI args:
https://peter.sh/experiments/chromium-command-line-switches/

Chrome capabilities:
https://sites.google.com/a/chromium.org/chromedriver/capabilities

Firefox capabilities:
https://github.com/mozilla/geckodriver/#firefox-capabilities

Firefox profiles:
https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

Safari endpoints
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/WebDriverEndpointDoc/Commands/Commands.html

Edge capabilities and endpoints
https://docs.microsoft.com/en-us/microsoft-edge/webdriver

JSON Wire protocol (obsolete)
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol

Selenium Python source code for Firefox
https://github.com/SeleniumHQ/selenium/blob/master/py/selenium/webdriver/firefox/options.py
raw docstring

append-argsclj

(append-args args extra)
source

dispatch-driverclj

(dispatch-driver driver & _)
source

get-argsclj

(get-args driver)
source

is-headless?cljmultimethod

(is-headless? driver)
source

options-namecljmultimethod

source

prepend-argsclj

(prepend-args args extra)
source

proxy->w3cclj

(proxy->w3c proxy)
source

set-argsclj

(set-args driver args)
source

set-binarycljmultimethod

(set-binary driver binary)
source

set-browser-log-levelcljmultimethod

(set-browser-log-level driver binary)

Sets browser logging level.

Sets browser logging level.
sourceraw docstring

set-capabilitiesclj

(set-capabilities driver caps)
source

set-download-dircljmultimethod

(set-download-dir driver path)
source

set-driver-log-levelcljmultimethod

source

set-headlesscljmultimethod

(set-headless driver)
source

set-load-strategyclj

(set-load-strategy driver strategy)
source

set-options-argsclj

(set-options-args driver args)

Adds command line arguments for a browser binary (not a driver).

Adds command line arguments for a browser binary (not a driver).
sourceraw docstring

set-pathclj

(set-path driver path)

Sets path to the driver's binary file.

Sets path to the driver's binary file.
sourceraw docstring

set-perf-loggingclj

(set-perf-logging driver
                  &
                  [{:keys [level network? page? categories interval]
                    :or {level :all
                         network? true
                         page? false
                         categories [:devtools.network]
                         interval 1000}}])

categories example: [:browser :devtools :devtools.timeline]

categories example:
[:browser :devtools :devtools.timeline]
sourceraw docstring

set-portcljmultimethod

(set-port driver port)

Updates driver's map with the given port added to the args.

Updates driver's map with the given port added to the args.
sourceraw docstring

set-prefscljmultimethod

(set-prefs driver prefs)
source

set-profilecljmultimethod

source

set-proxyclj

(set-proxy driver proxy)
source

set-urlcljmultimethod

(set-url driver url)

Sets the default URL that the browser should open by default.

Sets the default URL that the browser should open by default.
sourceraw docstring

set-user-agentcljmultimethod

(set-user-agent driver user-agent)

Set User-Agent header for the driver.

Set User-Agent header for the driver.
sourceraw docstring

set-window-sizecljmultimethod

(set-window-size driver w h)

Adds browser's command line arguments for setting initial window size.

Adds browser's command line arguments for setting initial window size.
sourceraw docstring

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

× close