Adds support for clicking on page elements