{"id":6394,"date":"2015-11-01T22:21:38","date_gmt":"2015-11-01T13:21:38","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6394"},"modified":"2019-06-05T16:14:20","modified_gmt":"2019-06-05T07:14:20","slug":"seleniumbasicselenium-vba%e3%81%8cmicrosoft-edge%e3%81%ab%e5%af%be%e5%bf%9c%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=6394","title":{"rendered":"SeleniumBasic(Selenium VBA)\u304cMicrosoft Edge\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002"},"content":{"rendered":"<p>\u8a00\u308f\u305a\u3068\u77e5\u308c\u305fWeb\u30d6\u30e9\u30a6\u30b6\u30fc\u306e\u81ea\u52d5\u5236\u5fa1\u30c4\u30fc\u30eb\u300c<a href=\"http:\/\/www.seleniumhq.org\/\" title=\"Selenium - Web Browser Automation\" target=\"_blank\" rel=\"noopener noreferrer\">Selenium<\/a>\u300d\u306eVBA\u5411\u3051\u30e9\u30c3\u30d1\u30fc\u300c<a href=\"http:\/\/florentbr.github.io\/SeleniumBasic\/\" title=\"SeleniumBasic\" target=\"_blank\" rel=\"noopener noreferrer\">SeleniumBasic<\/a>\u300d(\u65e7Selenium VBA)\u304c v2.0.6.0 \u3067<span style=\"color: #ff0000; font-weight: bold;\">Microsoft Edge<\/span>\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub SeleniumBasicSample()\r\n  With CreateObject(&quot;Selenium.EdgeDriver&quot;)\r\n    .Start\r\n    .Get &quot;http:\/\/www.bing.com\/&quot;\r\n    .FindElementById(&quot;sb_form_q&quot;, 5000).SendKeys &quot;Microsoft MVP&quot;\r\n    .FindElementById(&quot;sb_form_go&quot;).Click\r\n    .TakeScreenshot(1000).ToExcel ActiveSheet.Range(&quot;C3&quot;)\r\n    .Quit\r\n  End With\r\nEnd Sub<\/pre>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_01.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_01.gif\" alt=\"SeleniumBasicWithMicrosoftEdge_01\" width=\"751\" height=\"625\" class=\"alignnone size-full wp-image-6395\" \/><\/a><\/p>\n<p>Edge\u304c<a href=\"http:\/\/stackoverflow.com\/questions\/31302304\/will-microsoft-edge-support-com-automation-internetexplorer-object\" title=\"internet explorer - Will Microsoft Edge support COM automation (InternetExplorer object)? - Stack Overflow\" target=\"_blank\" rel=\"noopener noreferrer\">COM\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u975e\u30b5\u30dd\u30fc\u30c8\u3067\u3001\u5916\u90e8\u304b\u3089\u5236\u5fa1\u3059\u308b\u306b\u306fWebDriver\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308b<\/a>\u3068\u77e5\u308a\u3001SeleniumBasic\u306e\u5bfe\u5fdc\u306f\u307e\u3060\u304b\u307e\u3060\u304b\u3068\u5f85\u3061\u671b\u3093\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u3053\u306b\u304d\u3066\u3088\u3046\u3084\u304f\u5bfe\u5fdc\u3067\u3059\u3002<br \/>\n\u3053\u308c\u3067VBA\u304b\u3089Edge\u306e\u5236\u5fa1\u304c\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u306d\uff01\uff01<\/p>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n<p><span style=\"color: #ff0000; font-weight: bold;\">2018\/7\/26 \u8ffd\u8a18\uff1a<\/span><br \/>\n\u6539\u3081\u3066\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=10666\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Selenium-120x120.png' alt='\u30102018\u5e747\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2018.07.26<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=10666\">\u30102018\u5e747\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002 <\/a><\/div><div class=\"cardlink_excerpt\">2\u5e74\u4ee5\u4e0a\u524d\u3001SeleniumBasic\u304cMicrosoft Edge\u306b\u5bfe\u5fdc\u3057\u305f\u9803\u3001\u5f53\u30d6\u30ed\u30b0\u3067\u3082\u53d6\u308a\u4e0a\u3052\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002\r\n\r\n\r\n\r\nSeleniumBasic\u306e\u66f4\u65b0\u304c2\u5e74\u4ee5\u4e0a\u6b62\u307e\u3063\u3066\u3044\u308b\u3053\u3068\u3082\u3042\u308a\u3001\u3057\u3070\u3089\u304f\u89e6\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u6c17\u304c\u5411\u3044\u305f\u306e\u3067\u4e45\u3057\u3076\u308a...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n<hr \/>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2019\/6\/5 \u8ffd\u8a18\uff1a<\/span><br \/>\nWindows 10 May 2019 Update\u3067\u3082\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=11677\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Selenium-120x120.png' alt='\u30102019\u5e746\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2019.06.05<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=11677\">\u30102019\u5e746\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002 <\/a><\/div><div class=\"cardlink_excerpt\">2015\u5e74\u30682018\u5e74\u306bSeleniumBasic\u3092\u4f7f\u3063\u3066Microsoft Edge\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002\r\n\r\n\r\n\r\n\r\n\r\nWindows 10 May 2019 Update\u304c\u516c\u958b\u3055\u308c\u3001Edge\u5468\u308a\u306e\u74b0\u5883\u304c\u5909\u308f\u3063\u305f\u306e\u3067\u3001\u6539\u3081\u3066\u52d5\u4f5c\u78ba...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"\u8a00\u308f\u305a\u3068\u77e5\u308c\u305fWeb\u30d6\u30e9\u30a6\u30b6\u30fc\u306e\u81ea\u52d5\u5236\u5fa1\u30c4\u30fc\u30eb\u300cSelenium\u300d\u306eVBA\u5411\u3051\u30e9\u30c3\u30d1\u30fc\u300cSeleniumBasic\u300d(\u65e7Selenium VBA)\u304c v2.0.6.0 \u3067Microsoft Edge\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002 Op [&hellip;]","protected":false},"author":1,"featured_media":9039,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,48,132,25,49,58,133,154],"tags":[],"class_list":["post-6394","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-windows10","category-windows","category-word-office","category-powerpoint","category-microsoft-edge","category-selenium"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Selenium.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1F8","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6394"}],"version-history":[{"count":4,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6394\/revisions"}],"predecessor-version":[{"id":11698,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6394\/revisions\/11698"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/9039"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}