Wouldn’t be it good to have an image at hand for when you find a bug? You never know when a test might fail and all your effort will be in vain if you have no proof of the bug. The entire point of implementing Selenium test automation is to execute tests without interferences and get results instantaneously. Why Is It Important To Capture Screenshots In Selenium Testing? But before we do that, let us recap on the importance of capturing screenshots in Selenium.
We will learn how to capture screenshots in Selenium in different ways. In this article, we’re going to deep dive into Selenium Screenshots. However, the introduction of Selenium allowed testers to automated browser testing and testers relied on Selenium screenshots to automatically capture their web-application in multiple browsers or environments without the extra hassle. If not, where is it failing? Traditionally, testers were accustomed to capturing screenshots manually for each and every test they ran, which was painstakingly exhausting and time-consuming. With the help of two ways above, it is easy for us to capture full screenshots in Chrome.Capturing screenshots is pivotal to realize whether your web-application is rendering seamlessly or not. ( The saving interface will also be different with different extensions). Then the full screenshot will be captured and saved as pictures or other forms. After installation, the icon of the extension you just installed will be showed on the upper right corner of Chrome toolbar > Just click the icon or select options after clicking it to capture the full screenshot ( The icon as well as select options may be different with different extensions).ĥ. Open the web page which you want to capture a full screenshot in Chrome.Ĥ. Click the “ ” button of the extension you have chosen and select “ ” in the pop-up window which asks if you really add the extension.ģ. Enter “ Chrome Web Store” > Type “ screen capture” in the search field > Choose one of the extensions.Ģ. Way 2: Capture by Screen Capture Extensionġ.
At last, the full screenshot of web page will be showed as a picture which is under the bottom of Chrome.
Click the “ Capture full size screenshot” which is under search field.Ĥ. Tap “ F12” and then press “ Ctrl+Shift+P” to open the Command menu in Chrome's Developer Tools > Type “ full” in the search filed.ģ. Open the web page which you want to capture a full screenshot in Chrome.Ģ. Way 1: Capture by Chrome's Developer Toolsġ.