python selenium take screenshot of element code example Example: python selenium screenshot driver.save_screenshot("screenshot.png")