Fix 'Tags' padding to keep it farther from the edge and document the source of the...
[lhc/web/wiklou.git] / tests / selenium / selenium.sh
1 #!/usr/bin/env bash
2 set -euo pipefail
3 # Check the command before running in background so
4 # that it can actually fail and have a descriptive error
5 hash chromedriver
6 chromedriver --url-base=/wd/hub --port=4444 &
7 # Make sure it is killed to prevent file descriptors leak
8 function kill_chromedriver() {
9 killall chromedriver > /dev/null
10 }
11 trap kill_chromedriver EXIT
12 npm run selenium-test