Capturing screenshots during the test run comes very handy when you want to communicate failures to the developers. It also helps in debugging tests or creating evidence of the test run. Selenium WebDriver comes with built-in methods to capture screenshots during the test run. The WebDriver
class provides the following methods to capture and save a screenshot:
Learning Selenium Testing Tools with Python
By :
Learning Selenium Testing Tools with Python
By:
Overview of this book
Table of Contents (17 chapters)
Learning Selenium Testing Tools with Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Selenium WebDriver and Python
Writing Tests Using unittest
Finding Elements
Using the Selenium Python API for Element Interaction
Synchronizing Tests
Cross-browser Testing
Testing on Mobile
Page Objects and Data-driven Testing
Advanced Techniques of Selenium WebDriver
Integration with Other Tools and Frameworks
Index
Customer Reviews