pytyhonselenium base take screenshot code example Example: python selenium screenshot driver.save_screenshot("screenshot.png")