Capture screenshot of an alert with selenium and robot class
In one of our post, we have seen how to take a screenshot of a browser screen, but unfortunately this logic can not capture the alerts as alerts are not related to browser, so we need to have different approach which we will see in this post. For alerts, we will use this demo link…