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
(set-browser-log-level driver binary)
Sets browser logging level.
Sets browser logging level.
(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).
(set-path driver path)
Sets path to the driver's binary file.
Sets path to the driver's binary file.
(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]
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close