No description, website, or topics provided.
PHP Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
_Base.php
run.sh

README.md

Take screenshot of a whole website (the website requries a xml sitemap)

Install selenium2 server

http://selenium.googlecode.com/files/selenium-server-standalone-2.30.0.jar

make a bash file named selenium2 and put into /usr/bin and make it executeable

the selenium2 file should contain

java -jar /path/to/selenium-server-standalone-2.14.0.jar

Then install PHPUnit_Selenium with the following code

pear install phpunit/PHPUnit_Selenium

make sure the following commands can be run

selenium2
phpunit _BASE.php (will generate error, but just to see if its runable)

Now run

selenium2

And in a new terminal run

run.sh

Or

run.sh http://www.google.com/sitemap.xml

Now it will begin to take screenshots of all pages in sitemap.xml, the screenshots will be located in the screenshots folder