Fixed tested selenium app to new event listener.