Relative Content

Tag Archive for pythonselenium-webdriverweb-scrapingpython-imaging-library

How to screenshot website and highlight clickable elements in Python

I’m coding a Python script that navigates to a website, screenshots it, and annotates boxes and numbers over every clickable element (buttons, text input, and anything the user can press on or interact with). If working properly, the Python function would return a screenshot that resembles the following: