A small utility for clicking on links of the Web page and display HTTP response statuses.
Requirements:
- Python 2.6.x and above
- selenium 2.44.0 (Python bindings for Selenium)
- BrowserMob Proxy
- browsermob-proxy-py
- colorama 0.3.2 and above
- PhantomJS
How to run:
# python woodpycker.py -u <page_url>
or run
# python woodpycker.py -h
for list of all parameters.
Note: You can set environment variable BMPATH to specify the BrowserMob Proxy location. For example:
# env BMPATH=/opt/browsermob-proxy/bin/browsermob-proxy python woodpycker.py -u <page_url>
If environment variable not specified the default location '/usr/local/opt/browsermobproxy/bin/browsermob-proxy' will be used.
Example: