use*_*794 23 web-scraping phantomjs casperjs
我有输入元素如图所示:
<input type="text" class="bg-white" id="couponCode" value="">
如何使用casperJs设置/填充其值
Sri*_*ala 41
运用 casper.sendKeys('selector', value);
http://casperjs.readthedocs.org/en/latest/modules/casper.html#sendkeys