Take a screenshot via Selenium WebDriver

 

1 thought on “Take a screenshot via Selenium WebDriver”

  1. Sarang , add code to take a full screen screen shot. This method will only take screens shots for HTML component of the GUI. What if I want to take screen shots for whole screen which should have URL and time stamp.
    Also, what if I want to take screen shot of only specific section in the page and not the whole.

Comments are closed.