做「@」的按鍵我試圖做到以下幾點:如何CasperJS
page.sendEvent('keypress', page.event.key['N'], null, null, 0)
page.sendEvent('keypress', page.event.key['@'], null, null, 0)
但是,@
符號不能正常工作。我如何在上面輸入@
?
這裏是事件我試圖使用方法:http://phantomjs.org/api/webpage/method/send-event.html
不能使用event.which [50](對應於 '@'),而不是event.key? – DinoMyte