I am trying to take a screenshot of a website, but it is not developed. Selenium returns me the following message:
selenium.common.exceptions.WebDriverException:
Message: Reached error page: about:neterror?e=dnsNotFound&u=https%3A//test-test-test-test-test.info/&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20test-test-test-test-test.info.
I use the method:
driver.save_screenshot("my_pic.png")
Is there a way, I would get an image, despite DNS is not being found?