Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 7ec0717

Browse files
authored
Merge pull request #2 from paralax/master
"pip" the installation, update README
2 parents 41da644 + 06b2ee7 commit 7ec0717

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ This tool depends on the proper configuration and installation of the following:
4646
- [PhantomJS](http://phantomjs.org/download.html) - Headless WebKit browser used by Splinter for testing.
4747
- [Selenium 2.0](http://www.seleniumhq.org/docs/03_webdriver.jsp) - WebDriver required by PhantomJS browser.
4848

49+
Python dependencies can be installed using pip: `pip install -r requirements.txt`. Use your platform-specific mechanism to install PhatomJS (e.g. `brew` on OSX, `apt-get` on Debian or Ubuntu, etc).
50+
4951
If you would prefer that this tool ***use a different browser for testing***, you can read the [Splinter docs](https://splinter.readthedocs.io/en/latest/#drivers) and insert your preferred browser in the "inject_payload" method where it says `browser = Browser("phantomjs")`. Leaving it blank as `browser = Browser()` will default to Firefox.
5052

5153
## Screenshots

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
splinter==0.7.5
2+
selenium==3.4.3

0 commit comments

Comments
 (0)