Skip to main content
Question

Trigger a button click on a web page

  • April 11, 2018
  • 0 replies
  • 56 views

The 'download' buttons for layers in this data catalogue... https://environment.data.gov.uk/ds/catalogue/index.jsp#/catalogue

...used to resolve to fixed URLs that we could call from FME to fetch the data.

They are now function calls on a widget...

<a ng-if="layer.format" target="_self" href="javascript: void(0);" ng-click="vm.performDownload(layer)" bs-tooltip="" data-title="Click to download"> <img src="images/download-small.png"> </a>

There are no requests when the button is clicked so a POST won't do the job of a button click.

Does anybody know a way to programmatically click the download button or to get hold of the payload by any means?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.