问题
Does anyone know how can I click a link which is set by javascript with Goutte ?
For example the link is like this.
<a onclick="document.getElementById('Detail').click()" href="#a" id="Link01" name="Link01">get detail</a>
回答1:
You know Goutte cannot explain javascript. Selenium or casperjs is a better choice.
来源:https://stackoverflow.com/questions/27587679/how-to-click-a-link-which-is-created-javascript-with-goutte