selenium python click javascript code example
Example 1: click js selenium python
element = driver.find_element_by_xpath("//input[starts-with(@class,'gsc')]")
driver.execute_script("arguments[0].click();", element)
Example 2: python selenium click element
element.click()