Skip to content

Python code snippet – How to click on button ?

from selenium import webdriver
import webbrowser

driver = webdriver.Chrome()
button = driver.find_element_by_id('idofbutton')
See also  Python code snippet - How to find total no of NaN values in pandas?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.