ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®JSã®ãã¹ãããã®ã«CasperJS使ã£ãã便å©ã ã£ãï¼ CasperJSã¯PhantomJSã«ãã¹ãç¨ã¦ã¼ãã£ãªãã£ãã¤ãã¦ä¾¿å©ã«ãªã£ããã¤ï¼ JSï¼MVCã§ãããã«æ¸ãã¦ãã¨ï¼Modelã®åä½ãã¹ãã¨ãã§ãããã©ï¼æãªããã®æãã ã¨ï¼ãããã¯ãªãã¯ãããããã表示ããããã¨ï¼ã¿ãããªãã¹ããæ¸ããã¨ã«ãªãï¼ãã©ã©ã¤ãã©ãªã¨ããããããã£ã¦ã©ãã使ãã°ãããåãããªãã¦æ·å± ãé«ãï¼CasperJSã使ã£ããããã ãã§å®çµãã¦ãã¹ãæ¸ããï¼ PhantomJSã¯åãªããã©ã¦ã¶ã ãã©ï¼CasperJSã¯ãã¹ãã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãï¼DOMã®ãã¹ãé¢æ°ã¨ããã¤ãã¦ãï¼ éåæãªã¿ã¹ã¯ã®å®è¡ã®ä»çµã¿ãå ¥ã£ã¦ã¦ï¼casper.thenã£ã¦ããã®ãé çªã«æ¸ãã¦ããã¨ï¼é çªã«å¼ãã§ããã¦ï¼click()ãã¦ï¼casper.thenãããï¼ãã¼ã¸é·ç§»ããã次ã®ãã¼ã¸ã«ç§»åãã¦ãï¼ã¹
{{#tags}}- {{label}}
{{/tags}}