Additional logs

This commit is contained in:
AndreyMaslennikov
2019-12-18 18:09:51 +03:00
parent 84a404c4ee
commit fe997d5037

View File

@@ -45,11 +45,15 @@ chown root:root /usr/bin/chromedriver
chmod +x /usr/bin/chromedriver
# Run tests to determine that the chromedriver installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
if ! command -v chromedriver; then
echo "chromedriver was not installed"
exit 1
fi
echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Chromedriver ($(chromedriver --version))"
# Download selenium standalone server (hardcoded version 3.141.59)
echo "Downloading selenium-server-standalone v3.141.59..."
wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar