Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | which phantomjs > /dev/null | |
3 | if [ $? != 0 ]; then | |
4 | echo You must install phantomjs to use command-line testing. | |
5 | echo Visit http://www.phantomjs.org/ to get it. | |
6 | echo | |
7 | echo OR open auto_tests/misc/local.html in a browser. | |
8 | echo OR follow the instructions in auto_tests/README | |
9 | exit 1 | |
10 | fi | |
11 | ||
12 | phantomjs phantom-driver.js |