There is 1 button of this kind: <a href = "#" class = "btn large editfile" data-modal-link = "# editfile" id = "editfile_link" onclick = "_ gaq.push (['_ trackEvent', 'files' , 'edit', location.href]); "> Edit </a> How to press it with Twill / Python