Goole chrome stop sharing

is there a way i can listen to click event on stop sharing button which appers bottom of chrome when sharing the screen