how to take a screenshot with python selenium code example Example: python selenium screenshot driver.save_screenshot("screenshot.png")