{"type":"rich","height":"190","width":"100%","blog_title":"tanaka's Programming Memo","published":"2014-10-17 21:19:06","blog_url":"https://am1tanaka.hatenablog.com/","author_name":"am1tanaka","provider_url":"https://hatena.blog","title":"Selenium\u3067Javascript / \u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u30d5\u30ec\u30fc\u30e0 / \u5c5e\u6027\u3067\u306e\u9078\u629e / \u30ea\u30b9\u30c8\u30dc\u30c3\u30af\u30b9","url":"https://am1tanaka.hatenablog.com/entry/2014/10/17/211906","provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/am1tanaka/","description":"\u51fa\u5e2d\u767b\u9332\u30b5\u30a4\u30c8\u3092\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u958b\u767a\u3057\u3066\u3044\u308b\u969b\u306b\u6c17\u3065\u3044\u305f\u3053\u3068\u3001\u5f79\u7acb\u3063\u305f\u3053\u3068\u306e\u30e1\u30e2\u3002 Javascript\u306e\u5b9f\u884c JavascriptExecutor\u3092\u4f7f\u3046\u3068\u3001\u73fe\u5728\u306e\u30da\u30fc\u30b8\u6642\u306b\u3042\u308bJavascript\u306e\u95a2\u6570\u306a\u3069\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u4ee5\u4e0b\u3001Java\u3067\u306eJavascriptExecutor\u306e\u5229\u7528\u4f8b\u3002\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089import\u3092\u9069\u5b9c\u8ffd\u52a0\u306e\u3053\u3068\u3002 WebDriver driver = new FirefoxDriver(); driver.get(\"http://am1.jp\"); JavascriptExecutor exe = (JavascriptExecutor)driver; e\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fam1tanaka.hatenablog.com%2Fentry%2F2014%2F10%2F17%2F211906\" title=\"Selenium\u3067Javascript / \u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u30d5\u30ec\u30fc\u30e0 / \u5c5e\u6027\u3067\u306e\u9078\u629e / \u30ea\u30b9\u30c8\u30dc\u30c3\u30af\u30b9 - tanaka&#39;s Programming Memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Selenium"]}