How to click a link which is created javascript wi

2019-08-05 16:05发布

问题:

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.



标签: goutte