python selenium click element

element.click()

Here is what the above code is Doing:
1. We’re creating a new instance of the Chrome driver.
2. We’re telling the driver to get the page at the URL we provided.
3. We’re using a CSS selector to grab the search box element on the page.
4. We’re sending the string “puppies” to the search box element.
5. We’re using a CSS selector to grab the search button element on the page.
6. We’re telling the driver to click the search button element.