The method click in Selenium webdriver in Python can be used to click on an image. First, we must identify the picture using any of the locators available, such as id, class, name, CSS, XPath, and so on. The img tagname represents a picture in the HTML code. Let’s look at an image element’s HTML code.