Skip to content

Latest commit

 

History

History
executable file
·
25 lines (10 loc) · 734 Bytes

README.md

File metadata and controls

executable file
·
25 lines (10 loc) · 734 Bytes

website-Screen-Short-PHP

You can take a website screen short by php

Just check the example websitescreenshort.php ... :)

#First Download Selenium Server: http://selenium-release.storage.googleapis.com/index.html?path=2.39/

#Second Download Web Drivers : https://github.com/facebook/php-webdriver

Now Start the server by the command:

java -jar selenium-server-standalone-2.39.0.jar

http://localhost/php-webdriver/selenium_facebook.php

Now You will the It will open the browser window and open facebook url and then enter some information and get result and screen short and show you. You can check screen in your images directory.

http://rapidsol.blogspot.com/2015/02/code-and-action-testing-with-selenium.html?q=test