{"id":11677,"date":"2019-06-05T15:00:28","date_gmt":"2019-06-05T06:00:28","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=11677"},"modified":"2019-06-05T16:04:28","modified_gmt":"2019-06-05T07:04:28","slug":"%e3%80%902019%e5%b9%b46%e6%9c%88%e7%89%88%e3%80%91seleniumbasic%e3%81%a7microsoft-edge%e3%82%92%e6%93%8d%e4%bd%9c%e3%81%97%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=11677","title":{"rendered":"\u30102019\u5e746\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002"},"content":{"rendered":"<p>2015\u5e74\u30682018\u5e74\u306b<a href=\"https:\/\/florentbr.github.io\/SeleniumBasic\/\" title=\"Seleniumbasic\" target=\"_blank\" rel=\"noopener noreferrer\">SeleniumBasic<\/a>\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<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=6394\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Selenium-120x120.png' alt='SeleniumBasic(Selenium VBA)\u304cMicrosoft Edge\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2015.11.01<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=6394\">SeleniumBasic(Selenium VBA)\u304cMicrosoft Edge\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002 <\/a><\/div><div class=\"cardlink_excerpt\">\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\r\n\r\n\r\n[vb]Option Explic...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\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<p><a href=\"https:\/\/www.ka-net.org\/blog\/?p=11569\" title=\"Windows 10 May 2019 Update\u3092ISO\u5f62\u5f0f\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u6a5f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\" rel=\"noopener noreferrer\">Windows 10 May 2019 Update<\/a>\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\u8a8d\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u52d5\u4f5c\u78ba\u8a8d\u74b0\u5883<\/h4>\n<ol>\n<li>Microsoft Windows 10 Pro \u30d0\u30fc\u30b8\u30e7\u30f3 1903 (OS \u30d3\u30eb\u30c9 18362.145) 64\u30d3\u30c3\u30c8\u7248<\/li>\n<li>Excel 2016 MSO (16.0.4849.1000) 32\u30d3\u30c3\u30c8\u7248<\/li>\n<li>Microsoft Edge 44.18362.1.0<\/li>\n<li>Microsoft EdgeHTML 18.18362<\/li>\n<li>SeleniumBasic v2.0.9.0<\/li>\n<\/ol>\n<h4 class=\"style4a\">SeleniumBasic\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>GitHub\u306e<a href=\"https:\/\/github.com\/florentbr\/SeleniumBasic\/releases\/\" title=\"Releases \u30fb florentbr_SeleniumBasic \u30fb GitHub\" target=\"_blank\" rel=\"noopener noreferrer\">Releases<\/a>\u30da\u30fc\u30b8\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u30022019\u5e746\u6708\u6642\u70b9\u3067\u3082\u3001SeleniumBasic\u306e\u6700\u65b0\u7248\u306f<span style=\"color: #ff0000; font-weight: bold;\">v2.0.9.0<\/span>\u3068\u306a\u3063\u3066\u3044\u3066\u3001<a href=\"https:\/\/www.ka-net.org\/blog\/?p=10666\" title=\"\u30102018\u5e747\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\" rel=\"noopener noreferrer\">\u4ee5\u524d\u306e\u8a18\u4e8b<\/a>\u516c\u958b\u6642\u70b9\u304b\u3089\u66f4\u65b0\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_01.jpg\" alt=\"\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-11678\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_01.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_01-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_02.jpg\" alt=\"\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-11679\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_02.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_02-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p>WebDriver\u306e\u9078\u629e\u753b\u9762\u3067\u306f\u3001Edge\u7528\u306e\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n(\u3068\u3044\u3063\u3066\u3082\u3001SeleniumBasic\u4ed8\u5c5e\u306eWebDriver\u306f\u53e4\u904e\u304e\u3066\u4f7f\u3044\u7269\u306b\u306a\u308a\u307e\u305b\u3093\u3002)<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_03.jpg\" alt=\"\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-11680\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_03.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_03-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p>\u4e0b\u56f3\u753b\u9762\u306e\u901a\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306f\u300c<span style=\"color: #ff0000; font-weight: bold;\">%USERPROFILE%\\AppData\\Local\\SeleniumBasic<\/span>\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_04.jpg\" alt=\"\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-11681\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_04.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_04-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_05.jpg\" alt=\"\" width=\"503\" height=\"389\" class=\"alignnone size-full wp-image-11682\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_05.jpg 503w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_05-300x232.jpg 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<h4 class=\"style4a\">.NET Framework 3.5\u306e\u6709\u52b9\u5316<\/h4>\n<p>SeleniumBasic\u3092\u52d5\u304b\u3059\u306b\u306f\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">.NET Framework 3.5<\/span>\u300d\u3092\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>[\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb \u30d1\u30cd\u30eb\u9805\u76ee] \u2192 [\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u6a5f\u80fd] \u2192 [Windows \u306e\u6a5f\u80fd\u306e\u6709\u52b9\u5316\u307e\u305f\u306f\u7121\u52b9\u5316]\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">.NET Framework 3.5 (.NET 2.0 \u304a\u3088\u3073 3.0 \u3092\u542b\u3080)<\/span>\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u3001OK\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3001\u6307\u793a\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305f\u5f8c\u3001PC\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070.NET Framework 3.5\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_06.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_06.jpg\" alt=\"\" width=\"612\" height=\"572\" class=\"alignnone size-full wp-image-11683\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_06.jpg 612w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_06-300x280.jpg 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_07.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_07.jpg\" alt=\"\" width=\"672\" height=\"508\" class=\"alignnone size-full wp-image-11684\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_07.jpg 672w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_07-300x227.jpg 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_08.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_08.jpg\" alt=\"\" width=\"672\" height=\"508\" class=\"alignnone size-full wp-image-11685\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_08.jpg 672w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_08-300x227.jpg 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/a><\/p>\n<p>.NET Framework 3.5\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3001SeleniumBasic\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u70b9\u3067<i>\u300c\u5b9f\u884c\u6642\u30a8\u30e9\u30fc &#8216;-2146232576 (80131700)&#8217;:\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 \u30a8\u30e9\u30fc\u300d<\/i>\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_09.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_09.jpg\" alt=\"\" width=\"812\" height=\"648\" class=\"alignnone size-full wp-image-11686\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_09.jpg 812w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_09-300x239.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_09-768x613.jpg 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/a><\/p>\n<p>\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3060\u3051\u3067\u306f\u4f55\u304c\u539f\u56e0\u306a\u306e\u304b\u5206\u304b\u3089\u305a\u3001SeleniumBasic\u3092\u4f7f\u3046\u3068\u304d\u306b\u610f\u5916\u3068\u30cf\u30de\u308a\u3084\u3059\u3044\u7f60\u306a\u306e\u3067\u304a\u6c17\u3092\u4ed8\u3051\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4 class=\"style4a\">WebDriver\u306e\u8ffd\u52a0<\/h4>\n<p><a href=\"https:\/\/developer.microsoft.com\/en-us\/microsoft-edge\/tools\/webdriver\/\" title=\"WebDriver - Microsoft Edge Development\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft\u306e\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u306b\u3042\u308b\u901a\u308a\u3001Edge \u30d0\u30fc\u30b8\u30e7\u30f3 18\u3067\u306f\u3001<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/windows\/hardware\/dn898543.aspx\" title=\"DISM \u6a5f\u80fd\u30d1\u30c3\u30b1\u30fc\u30b8 \u30b5\u30fc\u30d3\u30b9\u306e\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30aa\u30d7\u30b7\u30e7\u30f3 - Windows 10 hardware dev\" target=\"_blank\" rel=\"noopener noreferrer\">DISM<\/a>\u30b3\u30de\u30f3\u30c9\u3067WebDriver\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">DISM.exe \/Online \/Add-Capability \/CapabilityName:Microsoft.WebDriver~~~~0.0.1.0<\/pre>\n<p>\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\u3057\u305f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u3001\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001System32\u30d5\u30a9\u30eb\u30c0\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">MicrosoftWebDriver.exe<\/span>\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_10.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_10.jpg\" alt=\"\" width=\"849\" height=\"245\" class=\"alignnone size-full wp-image-11687\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_10.jpg 849w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_10-300x87.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_10-768x222.jpg 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_11.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_11.jpg\" alt=\"\" width=\"849\" height=\"311\" class=\"alignnone size-full wp-image-11688\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_11.jpg 849w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_11-300x110.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_11-768x281.jpg 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_12.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_12.jpg\" alt=\"\" width=\"717\" height=\"876\" class=\"alignnone size-full wp-image-11689\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_12.jpg 717w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_12-246x300.jpg 246w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082<span style=\"color: #ff0000; font-weight: bold;\">10.0.18362.1<\/span>\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_13.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_13.jpg\" alt=\"\" width=\"484\" height=\"587\" class=\"alignnone size-full wp-image-11690\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_13.jpg 484w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_13-247x300.jpg 247w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/a><\/p>\n<h4 class=\"style4a\">SeleniumBasic\u4ed8\u5c5e\u306eWebDriver\u3068\u5165\u308c\u66ff\u3048\u3066\u5b9f\u884c<\/h4>\n<p>WebDriver\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u306e\u3067\u3001<a href=\"https:\/\/www.ka-net.org\/blog\/?p=10666\" title=\"\u30102018\u5e747\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\" rel=\"noopener noreferrer\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u306b\u5023\u3063\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u308c\u66ff\u3048\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n(\u300cMicrosoftWebDriver.exe\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u300c%USERPROFILE%\\AppData\\Local\\SeleniumBasic\u300d\u306b\u30b3\u30d4\u30fc\u3057\u3066\u300cedgedriver.exe\u300d\u306b\u30ea\u30cd\u30fc\u30e0)<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_14.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_14.jpg\" alt=\"\" width=\"716\" height=\"275\" class=\"alignnone size-full wp-image-11691\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_14.jpg 716w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_14-300x115.jpg 300w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">---------------------------\r\nMicrosoft Visual Basic for Applications\r\n---------------------------\r\n\u5b9f\u884c\u6642\u30a8\u30e9\u30fc '0':\r\n\r\n\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 \u30a8\u30e9\u30fc\u3067\u3059\u3002\r\n\u3053\u306e\u64cd\u4f5c\u3092\u6b63\u3057\u304f\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002<\/pre>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u6642\u70b9\u3067\u306f\u30a8\u30e9\u30fc\u306f\u767a\u751f\u3057\u307e\u305b\u3093\u304c\u3001Start\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u70b9\u3067\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/microsoft-edge\/webdriver\" title=\"Webdriver - Microsoft Edge Development | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u8005\u5411\u3051\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u8003\u306b\u3001AddArgument\u30e1\u30bd\u30c3\u30c9\u3067\u300c<span style=\"color: #ff0000; font-weight: bold;\">jwp<\/span>\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u7d50\u679c\u306f\u5909\u308f\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_15.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_15.jpg\" alt=\"\" width=\"706\" height=\"279\" class=\"alignnone size-full wp-image-11692\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_15.jpg 706w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_15-300x119.jpg 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/a><\/p>\n<h4 class=\"style4a\">jwp\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u5148\u306bWebDriver\u3092\u5b9f\u884c<\/h4>\n<p>\u4ed5\u65b9\u304c\u7121\u3044\u306e\u3067\u5148\u306bWebDriver\u3092\u5b9f\u884c\u3057\u3066\u304a\u3044\u3066\u3001<span style=\"color: #ff0000; font-weight: bold;\">StartRemotely<\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n(\u30b3\u30fc\u30c9\u306f<a href=\"https:\/\/www.ka-net.org\/blog\/?p=10666\" title=\"\u30102018\u5e747\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\" rel=\"noopener noreferrer\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3068\u5927\u4f53\u540c\u3058\u3067\u3059\u306d\u3002)<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub Sample()\r\n  Dim pid As Long\r\n  Dim pno As Long: pno = 17556\r\n  \r\n  pid = StartEdgeDriver(PortNo:=pno)\r\n  If pid = 0 Then Exit Sub\r\n  With CreateObject(&quot;Selenium.WebDriver&quot;)\r\n    .StartRemotely &quot;http:\/\/localhost:&quot; &amp; pno &amp; &quot;\/&quot;, &quot;MicrosoftEdge&quot;\r\n    .Get &quot;https:\/\/www.yahoo.co.jp\/&quot;\r\n    .FindElementById(&quot;srchtxt&quot;).SendKeys &quot;\u3042\u3044\u3046\u3048\u304a&quot;\r\n    MsgBox &quot;\u4e00\u6642\u505c\u6b62&quot;, vbInformation + vbSystemModal\r\n    .Quit\r\n  End With\r\n  TerminateEdgeDriver pid\r\n  MsgBox &quot;\u7d42\u4e86&quot;, vbInformation + vbSystemModal\r\nEnd Sub\r\n\r\nPrivate Function StartEdgeDriver( _\r\n  Optional ByVal DriverPath As String = &quot;C:\\Windows\\System32\\MicrosoftWebDriver.exe&quot;, _\r\n  Optional ByVal PortNo As Long = 17556) As Long\r\n  \r\n  Dim DriverFolderPath As String\r\n  Dim DriverName As String\r\n  Dim Options As String\r\n  Dim itm As Object, itms As Object\r\n  Dim pid As Long: pid = 0\r\n  \r\n  With CreateObject(&quot;Scripting.FileSystemObject&quot;)\r\n    If .FileExists(DriverPath) = False Then GoTo Fin\r\n    DriverFolderPath = .GetParentFolderName(DriverPath)\r\n    DriverName = .GetFileName(DriverPath)\r\n  End With\r\n  \r\n  '\u591a\u91cd\u8d77\u52d5\u78ba\u8a8d\r\n  Set itms = CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer.ExecQuery _\r\n             (&quot;Select * From Win32_Process Where Name = '&quot; &amp; DriverName &amp; &quot;'&quot;)\r\n  If itms.Count &gt; 0 Then\r\n    For Each itm In itms\r\n      pid = itm.ProcessId: GoTo Fin\r\n    Next\r\n  End If\r\n  \r\n  'WebDriver\u5b9f\u884c\r\n  Options = &quot; --host=localhost --jwp --port=&quot; &amp; PortNo\r\n  With CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer.Get(&quot;Win32_Process&quot;)\r\n    .Create DriverPath &amp; Options, DriverFolderPath, Null, pid\r\n  End With\r\n  \r\nFin:\r\n  StartEdgeDriver = pid\r\nEnd Function\r\n\r\nPrivate Sub TerminateEdgeDriver(ByVal ProcessId As Long)\r\n  Dim itm As Object, itms As Object\r\n   \r\n  Set itms = CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer.ExecQuery _\r\n             (&quot;Select * From Win32_Process Where ProcessId = &quot; &amp; ProcessId &amp; &quot;&quot;)\r\n  If itms.Count &gt; 0 Then\r\n    For Each itm In itms\r\n      itm.Terminate: Exit For\r\n    Next\r\n  End If\r\nEnd Sub<\/pre>\n<p>\u3053\u308c\u3067\u3088\u3046\u3084\u304f\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002<br \/>\n\u4e0b\u8a18\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u52d5\u753b\u306e\u901a\u308a\u3001VBA\u30de\u30af\u30ed\u304b\u3089Edge\u304c\u64cd\u4f5c\u3067\u304d\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_16.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SeleniumBasicWithMicrosoftEdge_03_16.gif\" alt=\"\" width=\"1066\" height=\"609\" class=\"alignnone size-full wp-image-11693\" \/><\/a><\/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>\u5b9f\u306f\u4e0a\u8a18\u30b3\u30fc\u30c9\u306f\u3001<a href=\"https:\/\/social.msdn.microsoft.com\/Forums\/en-US\/isvvba\/thread\/934eb5ca-ea44-4bb9-bb8f-0036dec50f50\" title=\"Need help with VBA code for Windows 10 Microsft edge browser\" target=\"_blank\" rel=\"noopener noreferrer\">MSDN\u30d5\u30a9\u30fc\u30e9\u30e0\u306e\u56de\u7b54\u7528<\/a>\u306b\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/?p=11457\" title=\"Chromium\u7248\u306eMicrosoft Edge Insider\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\" rel=\"noopener noreferrer\">Chromium\u7248\u306eEdge<\/a>\u3082\u767a\u8868\u3055\u308c\u3001\u65e7\u6765\u306eEdge\u64cd\u4f5c\u306a\u3093\u3066\u9700\u8981\u306f\u306a\u3044\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u3067\u3082Edge\u3092\u64cd\u4f5c\u3057\u305f\u3044\u3068\u3044\u3046\u65b9\u306f\u4e00\u5b9a\u6570\u304a\u3089\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"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 Windows 10 May 2019 Update\u304c\u516c\u958b\u3055\u308c\u3001Edge\u5468\u308a\u306e\u74b0\u5883\u304c\u5909\u308f\u3063\u305f [&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":"[\u30102019\u5e746\u6708\u7248\u3011SeleniumBasic\u3067Microsoft Edge\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3057\u305f]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[132,4,48,154],"tags":[],"class_list":["post-11677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows10","category-office","category-excel-office","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-32l","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11677","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=11677"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11677\/revisions"}],"predecessor-version":[{"id":11695,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11677\/revisions\/11695"}],"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=11677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}