How do I go about inserting or copy/pasting an inline image with Selenium?
Currently I have the script taking a screenshot of the target image with selenium and opening it with Pillow.
driver.get("https://www.google.com/")
time.sleep(3)
screenshot = driver.find_element_by_xpath("//*[@id=\"hplogo\"]").screenshot_as_png
image = Image.open(io.BytesIO(screenshot))