Created
January 7, 2020 16:04
-
-
Save nddipiazza/b50e172f20f993217246713e401061de to your computer and use it in GitHub Desktop.
Run chromium remote debugging sever
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FUSION_HOME=/path/to/fusion/4.2.1 | |
REMOTE_DEBUGGING_PORT=4050 | |
AUTH_SERVER_WHITELIST="your.startlink.com" # comma separated | |
AUTH_NEGOTIATE_DELEGATE_WHITE_LIST="your.startlink.com" # comma separated | |
AUTH_SCHEMES="basic,digest,ntlm,negotiate" | |
HEADLESS="--headless" # set this to --headless if you want a headless browser, otherwise leave blank. | |
KEYTAB_FILE_PATH="/path/to/your/youruser.keytab" | |
KERBEROS_PRINCIPAL_NAME="HTTP/[email protected]" | |
echo "Removing current kerberos session from cache" | |
kdestroy | |
echo "Done. Now running a kinit so that connectors-classic connectors can perform kerberos authentication." | |
kinit -kt "${KEYTAB_FILE_PATH}" "${KERBEROS_PRINCIPAL_NAME}" | |
echo "Kerberos kinit login was successful!" | |
klist | |
"${FUSION_HOME}/var/connectors/connectors-classic/chrome-linux/chrome" --disable-background-networking --disable-bundled-ppapi-flash --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-blink-features=ShadowDOMV0 --enable-logging --force-fieldtrials --hide-scrollbars --ignore-certificate-errors --load-extension=/tmp/.org.chromium.Chromium.PxObay/internal --log-level=0 --mute-audio --no-first-run --password-store=basic --profiling-file=dsID_test235235_chrID_452a77db --remote-debugging-port=${REMOTE_DEBUGGING_PORT} --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.8d9jqN --v=1 data:, --auth-server-whitelist="${AUTH_SERVER_WHITELIST}" --auth-negotiate-delegate-whitelist="${AUTH_NEGOTIATE_DELEGATE_WHITE_LIST}" --auth-schemes="${AUTH_SCHEMES}" ${HEADLESS} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment