florentbr/SeleniumBasic

Got an error "ActiveX component can't create object" when run vbscript with Admin privilege

ledat94 opened this issue · 4 comments

Dim driver
Set driver = CreateObject("selenium.webdriver")
WScript.Quit

Same issue here

May be to register the registry file ……

The next step is to do the actual operation.

Step 1: Select regasm.bat and right-click menu to check Run as administrator. After a while a black window pops up, prompting for successful registration.

ref:
https://www.cnblogs.com/ryueifu-VBA/p/13661128.html