{"action":"created","issue":{"url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/14","labels_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/14/comments","events_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/14/events","html_url":"https://github.com/florentbr/SeleniumBasic/issues/14","id":103174516,"number":14,"title":"VBScript runtime error: ActiveX component can't create object: 'Selenium.ChromeDriver'","user":{"login":"shawnmkelly","id":13436457,"avatar_url":"https://avatars.githubusercontent.com/u/13436457?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnmkelly","html_url":"https://github.com/shawnmkelly","followers_url":"https://api.github.com/users/shawnmkelly/followers","following_url":"https://api.github.com/users/shawnmkelly/following{/other_user}","gists_url":"https://api.github.com/users/shawnmkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnmkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnmkelly/subscriptions","organizations_url":"https://api.github.com/users/shawnmkelly/orgs","repos_url":"https://api.github.com/users/shawnmkelly/repos","events_url":"https://api.github.com/users/shawnmkelly/events{/privacy}","received_events_url":"https://api.github.com/users/shawnmkelly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-26T04:55:34Z","updated_at":"2015-08-27T04:06:03Z","closed_at":null,"body":"First, thank you for all you do.\r\n\r\nI'm trying the sample vbs scripts and receive the following error\r\n\r\nc:\\Users\\shawn\\temp>\"DownloadFile(Chrome).vbs\"\r\nMicrosoft (R) Windows Script Host Version 5.8\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nC:\\Users\\shawn\\temp\\DownloadFile(Chrome).vbs(12, 3) Microsoft VBScript runtime error: ActiveX component can't create object: 'Selenium.ChromeDriver'\r\n\r\nClick OK to close the browser\r\nC:\\Users\\shawn\\temp\\DownloadFile(Chrome).vbs(23, 3) Microsoft VBScript runtime error: Object required: 'driver'\r\n\r\nWhat's interesting is the Excel examples work fine.\r\n\r\nI've tried registering the selenium.dll with both regasm and regsrv32 without success.\r\n\r\nI'd be grateful for any insight.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/comments/135285288","html_url":"https://github.com/florentbr/SeleniumBasic/issues/14#issuecomment-135285288","issue_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/14","id":135285288,"user":{"login":"shawnmkelly","id":13436457,"avatar_url":"https://avatars.githubusercontent.com/u/13436457?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnmkelly","html_url":"https://github.com/shawnmkelly","followers_url":"https://api.github.com/users/shawnmkelly/followers","following_url":"https://api.github.com/users/shawnmkelly/following{/other_user}","gists_url":"https://api.github.com/users/shawnmkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnmkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnmkelly/subscriptions","organizations_url":"https://api.github.com/users/shawnmkelly/orgs","repos_url":"https://api.github.com/users/shawnmkelly/repos","events_url":"https://api.github.com/users/shawnmkelly/events{/privacy}","received_events_url":"https://api.github.com/users/shawnmkelly/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T04:06:03Z","updated_at":"2015-08-27T04:06:03Z","body":"Based on this thread:\nhttps://productforums.google.com/forum/#!msg/chrome/TO8-9P_AQvc/3lQA5ZZ-neAJ\n\n \n\nAnd using this script:\n\nSet driver = CreateObject(\"Selenium.ChromeDriver\")\n\ndriver.AddArgument (\"--disable-appcontainer\")\n\ndriver.Start\n\nWScript.Echo \"Click OK to quit\"\n\ndriver.Quit\n\n \n\nGot the same error\n\n \n\nFrom: Shawn Kelly [mailto:shawnmkelly@verizon.net] \nSent: Wednesday, August 26, 2015 11:53 PM\nTo: 'florentbr/SeleniumBasic'\n<reply+00cd062957aafbc93ac67da36fc00c9455b32a5e4413d06f92cf0000000111f5a89b9\n2a169ce06265174@reply.github.com>; 'florentbr/SeleniumBasic'\n<SeleniumBasic@noreply.github.com>\nSubject: RE: [SeleniumBasic] VBScript runtime error: ActiveX component can't\ncreate object: 'Selenium.ChromeDriver' (#14)\n\n \n\nIt seems others are have similar issues:\nhttps://code.google.com/p/chromium/issues/detail?id=514084#c17\n\n \n\n \n\nFrom: Shawn Kelly [mailto:shawnmkelly@verizon.net] \nSent: Wednesday, August 26, 2015 11:08 PM\nTo: 'florentbr/SeleniumBasic'\n<reply+00cd062957aafbc93ac67da36fc00c9455b32a5e4413d06f92cf0000000111f5a89b9\n2a169ce06265174@reply.github.com>; 'florentbr/SeleniumBasic'\n<SeleniumBasic@noreply.github.com>\nSubject: RE: [SeleniumBasic] VBScript runtime error: ActiveX component can't\ncreate object: 'Selenium.ChromeDriver' (#14)\n\n \n\nWindows 7\n\n \n\nI forced reregistration. Now, all command tries result in is the error\ndepicted below with the dreaded \"He's dead Jim\". I reset Chrome setting to\ntry to clear the issue and loaded the latest version of chromedriver to no\navaile. Automation through Excel continues to work correctly.\n\n \n\n\n\n \n\n \n\nFrom: florentbr [mailto:notifications@github.com] \nSent: Wednesday, August 26, 2015 12:18 PM\nTo: florentbr/SeleniumBasic <SeleniumBasic@noreply.github.com>\nCc: shawnmkelly <shawnmkelly@verizon.net>\nSubject: Re: [SeleniumBasic] VBScript runtime error: ActiveX component can't\ncreate object: 'Selenium.ChromeDriver' (#14)\n\n \n\nWhich version of windows do you use?\nThe library looks correctly regitered.\nIt could be that you are not running the script under the same account as\nthe one that was used to install it.\nIt won't work if the script is exectued as admin since the library is\nregistred only for the current user.\n\nCould you try these commands in the Run dialog (Win+R):\n\nC:\\Windows\\System32\\WScript.exe\n\"%USERPROFILE%\\AppData\\Local\\SeleniumBasic\\Scripts\\StartChrome.vbs\"\nC:\\Windows\\SysWow64\\WScript.exe\n\"%USERPROFILE%\\AppData\\Local\\SeleniumBasic\\Scripts\\StartChrome.vbs\"\n\nCould you also try to run this alternative VBScript:\n\nSet driver = GetObject(\"new:{0277FC34-FD1B-4616-BB19-5D556733E8C9}\")\ndriver.Start\nWScript.Echo \"OK\"\ndriver.Quit\n\nUtlimately you could force the registration for all users:\n\nTo unregister, run all the following lines as admin (Win+X+A):\n\ncd %USERPROFILE%\\AppData\\Local\\SeleniumBasic\nC:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\regasm.exe Selenium.dll\n/codebase /tlb:Selenium64.tlb /unregister\nC:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\regasm.exe Selenium.dll\n/codebase /tlb:Selenium32.tlb /unregister\ndel *.tlb\n\nTo register, run all the following lines as admin (Win+X+A):\n\ncd %USERPROFILE%\\AppData\\Local\\SeleniumBasic\nC:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\regasm.exe Selenium.dll\n/codebase /tlb:Selenium64.tlb\nC:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\regasm.exe Selenium.dll\n/codebase /tlb:Selenium32.tlb\n\n-\nReply to this email directly or view it on GitHub\n<https://github.com/florentbr/SeleniumBasic/issues/14#issuecomment-135084332\n> .\n<https://github.com/notifications/beacon/AM0GKZK80EhDiylNRCKmbZt1VCzlopgJks5\nord4bgaJpZM4FyRgr.gif> \n\n"}}