Selenium(Selenium Core, Selenium IDE, Selenium RC ãªã©)ã§ãã¹ãã±ã¼ã¹ãæ¸ãå ´åããããã¨ããã«æãå±ããããæã«æ¯éã¨ãå©ç¨ãããã®ãJavaScriptã§ãã ããããã¾ã ã¾ã ãã®æ å ±ãæ°è»½ã«æã«å ¥ããªãã®ãæ®å¿µãªã¨ããããããªããªãæ¸ãã¦ãã¾ãï¼ãã¨ãããã¨ã§Seleniumã§JavaScriptãå©ç¨ãããå ´åã«ä½¿ããæ¹æ³ãã¾ã¨ãã¦ã¿ããã¨ã«ãã¾ããã éå¼ãè¾å ¸ã«ãããã®ããªãã¡ã¬ã³ã¹ã«ãããã®ããããããããã«ãã´ã©ã¤ãºã«ãªã£ã¦ãã¾ãããå°ãã¥ã¤å¢ããã¦ããã®ã§æ°é·ã«ãå¾ ã¡ãã ãããã使ç¨ãã¼ã¸ã§ã³ã¯Selenium 1.0ã§ãã ç®æ¬¡ JavaScriptåºæ¬ç·¨ Selenium空éã¨ãã¼ã¸ç©ºéã®éãã«ããJavaScriptã®ä½¿ãåã JavaScriptã«ããDOMæå®ã§ã¨ã¬ã¡ã³ã(è¦ç´ )ãç¹å®ãã å種ã³ãã³ãã®å ¥åæ¬ã«
åã®è¨äºããããã¯ãåã£ãæè¦ããå¼·åãããï¼ç 究çµæ ãç±³å½åã®æ´ä¸é¢¨åçºé»ãï¼å対éåã§é£èªã次ã®è¨äº ãiPadã¯ä½¿ãã«ãããï¼ç±³ã®UIå°é家ãæ¹å¤ 2010å¹´5æ13æ¥ IT ã³ã¡ã³ãï¼ ãã©ãã¯ãã㯠(0) ãã£ã¼ãIT Brian X. Chen ãiPadãã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®åå©ã¨ç§°ããã¦ãããããããããã¦ã¼ã¶ããªãã£ã¼ã®å°é家ã¯ãã®ã»ã©iPadã«ã¤ãã¦ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã«ä¸è²«æ§ããªãæ確ã§ãªãã¨ããæ¹å¤ãçºè¡¨ãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã«æ¨æºãè¨å®ããã¦ããªããããããããã®ã¢ããªãéã£ãããã«åãã®ã ã¨ããã ä¸é¨ããã¯ãã¦ã¼ã¶ããªãã£ã¼ã®çæ§ãã¨ãå¼ã°ããJakob Nielsenå士ã¯ä»é±ããiPadãã®ä½¿ãããããè©ä¾¡ãã93ãã¼ã¸ã®ã¬ãã¼ããçºè¡¨ããããã®ã¬ãã¼ãã¯ã34種é¡ã®ã¢ããªã¨ã¦ã§ããµã¤ãããã¹ããã7人ã®ã¦ã¼ã¶ã¼ããã®ãã£ã¼ãããã¯ãåºã«ä½æããã¦ããã
Steve Yegge / éæ¨é 訳 2004å¹´9æ ããã¯é§ã足ã®è¨èªæ¡å ã â Amazon Developers Journalã®ããã«ä»ææ¸ãã¦ããã®ã ããã©ãããããè¦è¦ãããªãããã«ããæ¹æ³ãè¦ã¤ããããªãã£ã・・・ã ã²ã¨ã¤ã«ã¯ãç§ã¯ã©ããç²éã§å£æ±ããªããã¡ã§ããªãã£ã·ã£ã«ãªè¶£ã®ããAmazonã®åºçç©ã«è¼ããã®ã¯ä¸é©åã«æãããããã§ãããã«èª°ãèªã¾ãªãèªåã®ããã°ã«æ¼ãè¾¼ãã¦ãã¾ããã¨ã«ãããèªãã§ãã®ã¯ããªããããã®ãã®ã ããã©ãã! ããã²ã¨ã¤è¨ãã¨ãããã¯æ¬å½ã«æ¸ãããã®ãã®ã§ããããããããã®æçãéãããã®ã§ãããªããå ¨ç¶ç£¨ãä¸ãããã¦ããªãããããããã°ã¨ã³ããªã«ããçç±ã«ãªã£ã¦ãããããã°ãªãå¥ã«è¯è³ªã§ããå¿ è¦ãå®å ¨ã§ããå¿ è¦ããªããåã«ç§ãä»æ¥èãããã¨ã¨ããã ãã®ãã®ã ãã§ã¯ã楽ãã¿ã! ãã®é§ã足ã®æ¡å ã§ã¯ãCãC++ãLispãJavaãPerl
å¯å£«éå 社é·ã®éå¯å·æ¦ï¼ã®ããã»ãã«ããï¼æ°ã¯5æ12æ¥ãæ¨å¹´9æã®çªç¶ã®è¾ä»»ããããä¸é£ã®é¨åã«ã¤ãã¦æ±äº¬ã»æ楽çºã®æ¥æ¬å¤å½ç¹æ´¾å¡åä¼ã§ä¼è¦ãéãã¦èª¬æããã å¯å£«éã¯æ¨å¹´9æ25æ¥ãç æ°çé¤ãçç±ã«éå¯æ°ã®ç¤¾é·è¾ä»»ãçºè¡¨ãã¦ããããä¸é¨å ±éãåãã¦2010å¹´3æ6æ¥ã«è¾ä»»çç±ããåå¼ãªã©ã®é¢ä¿ãæã¤ãã¨ã¯ãµãããããªãä¼æ¥ã¨é¢ä¿ãç¶ãããããã¨è¨æ£ãéå¯æ°ãç¸è«å½¹ãã解任ãããããããéå¯æ°ã¯ãèå½ã®çç±ã§è¾ä»»ããããããã¨è¨è ä¼è¦ãããã°ãéå¯å·æ¦ã®è¨ãåããªã©ãéãã¦ä¸»å¼µãã¦ããã ä¼è¦ã§éå¯æ°ã¯ãå¯å£«éã«ã¯ã³ã¼ãã¬ã¼ãã¬ããã³ã¹ï¼ä¼æ¥çµ±æ²»ï¼ãæ¬ å¦ãã¦ãããã¨ææã6æã®æ ªä¸»ç·ä¼ã¾ã§ã«å¤é¨èª¿æ»å§å¡ä¼ãè¨ç«ãã¦äºä»¶ã®å ¨å®¹ã解æãããããè£å¤æã«ä»£è¡¨åç· å½¹ã¨ãã¦ã®å°ä½ä¿å ¨ãæ±ããä»®å¦åç³è«ãæåºããã¨çºè¡¨ãããä¼è¦å¾ã«è¡ããã質çå¿çã§ã¯å¼è·å£«ã®çåå æ°ãå°æ¾¤å¹¹äººæ°ã¨ã¨ãã«ãåé¡ã¨ãªã£
Rubyã®yieldã¨Pythonã®yieldã¯å®ã¯å ¨ç¶éããããªæ°ããã¦ããã®ã§ãæ´çã®ããã«æ¸ãã¦ã¿ã¾ãã ã¾ããRubyã§eachã«ç¸å½ããç©ãèªåã§å®è£ ãã¦ã¿ã¾ããã # Ruby 1 class Array def my_each self.each{|x| yield x } end end [1, 2, 3, 4, 5].my_each{|x| puts x } ããã«ç¸å½ããç©ãPythonã§æ¸ãã¨ãå®ã¯yieldã使ãã¾ããã # Python 1 class Array(list): def each(self, f): for i in self: f(i) def myprint(x): print x Array([1, 2, 3, 4, 5]).each( myprint ) ããããã£ã¨Ruby 1ã®ã³ã¼ãã«è¿ã¥ãã¦æ¸ãã¨ä»¥ä¸ã®ããã«ãªãã¾ããPythonã«ã¯
JavaScript MDC - New in JavaScript 1.7 ä¸è¨ãã¼ã¸ã§ã¯ä»¥ä¸ã®ããã«ä½¿ããã¦ããã(1è¡ç®ã«ç¢ºèªç¨ã®printã追å ãã) function fib() { print("START") var i = 0, j = 1; while (true) { yield i; var t = i; i = j; j += t; } } var g = fib(); for (var i = 0; i ä»ã¾ã§ã®JSã®ã¹ã³ã¼ãã®æè¦ã§èããã¨ãiã¨jã¯åå¼ã³åºãã§å ±ç¨ããããããè¤æ°ã®ã¸ã§ãã¬ã¼ã¿ã¼ãçæã§ãããä¸åº¦æ°ãé²ãã¦ãã¾ãã¨å度使ããªãããã«è¦ããã fibã®å®è¡çµæã¯ä»¥ä¸ã js> typeof(fib) function js> fib() [object Generator] å®è¡ããã(é¢æ°ã¹ã¿ã¼ãã表示ããã)ãGeneratorã®ã¤ã³ã¹ã¿ã³ã¹
ããã°ã©ã ãããæ°ãåºãããã¦ãå¿ è¦ã®ãªãå¦çãããªããå®è¡ãã¦æ¬²ãããªãã¨æã£ã¦ããå¦çã¾ã§è¡ã£ã¦ãã¾ãã®ã¯ãããããã¨ã§ãããããã°ã©ã ã«ã¯ãã£ã¨æ ãè ã§ãã£ã¦æ¬²ããã®ã ãããã§ãã¸ã§ãã¬ã¼ã¿ã®åºçªã§ãããPythonã®ã¸ã§ãã¬ã¼ã¿ãç¨ããã¨ããã¤ã©ãã ãå¦çãè¡ã£ã¦æ¬²ããããæ£ç¢ºã«æå®ãããã¨ãå¯è½ã¨ãªãã æ¢ã«ãªã¹ãã®å å 表è¨ã¨ãããã®ãç´¹ä»ããããªã¹ãã®å å 表è¨ãç¨ããã°ããªã¹ãã®å 容ãããèªç¶ãªæ¹æ³ã§è¡¨ç¾ãããã¨ãå¯è½ãªã®ã§ãã£ããæ¬ç¨¿ã§ã¯ããã®ãªã¹ãã®å å 表è¨ã¨ããã¨ããã®é¢ä¿ã«ãããã®ãã¸ã§ãã¬ã¼ã¿ããç´¹ä»ããããã¸ã§ãã¬ã¼ã¿ãå©ç¨ããã¨ãã·ã¼ã±ã³ã¹ã®åè¦ç´ ãä¸ã¤ãã¤æ§ç¯ãããã¨ãå¯è½ã¨ãªããããããªããå¿ è¦ã¨ããã ãã®å¦çãè¡ãããããã«ãªãã®ã§ããã ããã¯é 延è©ä¾¡ã¨å¼ã°ããããã°ã©ã ãå¤ãå®éã«å¿ è¦ã¨ããã¾ã§ãç¹å®ã®å¤ã®è¨ç®ãé ãããããã¿ã§ãããé 延è©ä¾¡ãå©ç¨ããã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}