How to click on an element with Python-UnitTest?

How can I click on an element with Python-UnitTest?

Hello Macy,

We do have a sample code snippet that you can refer to and here’s the sample below to click on an element with Python-UnitTest:

  # Url
        driver.get("https://lambdatest.github.io/sample-todo-app/")

        # Click on check box
        check_box_one = driver.find_element_by_name("li1")
        check_box_one.click()