How to click a “select option” and then evaluate loaded content with casperjs
问题 I'm trying to crawl the sizes for this product: Link to product The problem: The sizes are loaded after the color of the product is selected. In the product page's source code, I can see that the dropdown has a onchange-method: It clicks the form #postColor onchange. The select dropdown: <select name="color" id="color" class="cposelect" onchange="document.getElementById('postColor').click();" style="width:150px;margin-right: 20px; float: left;"> <option selected="selected" onfocus="if (this