Here’s the code sample from our tutorial on how to take a screenshot in Selenium for Java

 

View on GitHub
Angie Jones
Automation Architect

Ready for the next generation of testing?

Get started today Schedule a demo