This file contains 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
BROWSER_MAJOR=$(google-chrome --version | sed 's/Google Chrome \([0-9]*\).*/\1/g') \ | |
&& wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${BROWSER_MAJOR} -O chromedriver_version \ | |
&& wget -q https://chromedriver.storage.googleapis.com/`cat chromedriver_version`/chromedriver_linux64.zip \ | |
&& unzip chromedriver_linux64.zip \ | |
&& rm chromedriver_linux64.zip \ | |
&& mv chromedriver /usr/local/bin \ | |
&& chmod +x /usr/local/bin/chromedriver |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
echo "[$(date)] Updating credentials..." | |
echo -n "Please enter Profile Name : " | |
read PROFILE | |
MFA_PROFILE="${PROFILE}_mfa" |