You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VERBOSE=${VERBOSE:-""}
DRIVER_ARGS=""
if [ -n "$VERBOSE" ]; then
DRIVER_ARGS="--verbose"
fi
...
DISPLAY="$DISPLAY" /usr/bin/chromedriver --port=4444 --whitelisted-ips='' ${DRIVER_ARGS} &
I'd like to have capability to override DRIVER_ARGS from external service to reuse all benefits of the driver, for example chromedrivr support:
/usr/bin/chromedriver --help
Usage: /usr/bin/chromedriver [OPTIONS]
Options
--port=PORT port to listen on
--adb-port=PORT adb server port
--log-path=FILE write server log to file instead of stderr, increases log level to INFO
--log-level=LEVEL set log level: ALL, DEBUG, INFO, WARNING, SEVERE, OFF
--verbose log verbosely (equivalent to --log-level=ALL)
--silent log nothing (equivalent to --log-level=OFF)
--append-log append log file instead of rewriting
--replayable (experimental) log verbosely and don't truncate long strings so that the log can be replayed.
--version print the version number and exit
--url-base base URL path prefix for commands, e.g. wd/url
--readable-timestamp add readable timestamps to log
--enable-chrome-logs show logs from the browser (overrides other logging options)
--disable-dev-shm-usage do not use /dev/shm (add this switch if seeing errors related to shared memory)
--allowed-ips comma-separated allowlist of remote IP addresses which are allowed to connect to ChromeDriver
Change is pretty simple and looks like:
VERBOSE=${VERBOSE:-""}
DRIVER_ARGS=${DRIVER_ARGS:-""}
if [ -n "$VERBOSE" ]; then
DRIVER_ARGS="$DRIVER_ARGS --verbose"
fi
The text was updated successfully, but these errors were encountered:
Example from the latest vnc chrome image (88):
I'd like to have capability to override DRIVER_ARGS from external service to reuse all benefits of the driver, for example chromedrivr support:
Change is pretty simple and looks like:
The text was updated successfully, but these errors were encountered: