https://github.com/testingbot/selenium-screenshots
Takes screenshots of any browser in Windows with Selenium
https://github.com/testingbot/selenium-screenshots
Last synced: 9 months ago
JSON representation
Takes screenshots of any browser in Windows with Selenium
- Host: GitHub
- URL: https://github.com/testingbot/selenium-screenshots
- Owner: testingbot
- License: mit
- Created: 2011-12-24T11:10:09.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-12-24T11:25:49.000Z (about 14 years ago)
- Last Synced: 2025-04-02T07:11:16.963Z (10 months ago)
- Language: C#
- Homepage: http://www.testingbot.com
- Size: 117 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: LICENSE
Awesome Lists containing this project
README
h1. Create Screenshots of your browser's content with Selenium
At TestingBot.com we use this custom built C# utility to take screenshots of a browser window.
Right now it will take a screenshot of any browser on Windows. You do not need to install browser add-ons or anything else.
The way it works: we changed a bit of Selenium code that takes care of the browser launching. Once a browser is launched, we retrieve its
PID (Process ID) and pass it to our Screenshot program. It will use Windows' PrintWindow function to take a screenshot of the specific program.
In this repository you'll find the C# code which we use, and an example diff of one of the Selenium files we had to patch to make our tool work.
h2. Need help?
Reach out to us on http://testingbot.com and we'll be glad to help you.