Selenium captureEntirePageScreenshot

Using selenium you can capture the screen shot of the pages when running the selenium script. This is useful when you want to capture the screen shot of the page where you have a failure/ error. selenium.CaptureEntirePageScreenshot(“C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\test.png”, “”); captureEntirePageScreenshot(filename, kwargs) Arguments: * filename – the path to the file to […]