Calling python function on button OnClick event code example
Example: button click event in python
button_element = driver1.find_element_by_id('button event')
button_element.click()
button_element = driver1.find_element_by_id('button event')
button_element.click()