Capturing Screenshot Using Robot Class In Selenium

Hello Folks, In last post we have seen Taking Screenshot Using TakesScreenshot Interface In Selenium. I have explained about its drawbacks as well. Drawbacks of using TakesScreenshot interface for taking screenshot in selenium: It will not take screen shot when an alert is open.  It will give you an exception stating “org.openqa.selenium.UnhandledAlertException”. It takes screenshot of visible area of … Continue reading Capturing Screenshot Using Robot Class In Selenium