Showing posts with label assignId Command. Show all posts
Showing posts with label assignId Command. Show all posts

"captureEntirePageScreenshot" command

This command is very useful for capture and save full page screenshot. You can use this command anywhere in between. It will store screen shot of current selected browser tab.


New Test
Command Target Value
open http://www.google.com
captureEntirePageScreenshot D:\\selenium.jpg

VIEW CAPTURE SCREENSHOT EXAMPLE IN WEBDRIVER

In above example, "captureEntirePageScreenshot" command will capture and store screenshot of Google home page in "D" drive with file name selenium.jpg. You can change file name and file storing path as you