First., you need to enable the button by performing the actions in this event handler on that page:
$(document).on('click', "#step-btn-1", function() { ...
});
This enables the button and sets the href attribute (= download location).
Then, you can click the button using
document.getElementById("step-btn-2").click()