florentbr / SeleniumBasic

A Selenium based browser automation framework for VB.Net, VBA and VBScript
BSD 3-Clause "New" or "Revised" License
433 stars 198 forks source link

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

Open ledat94 opened 1 year ago

ledat94 commented 1 year ago

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

wolflash666 commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。 已经收到,等我看到了,立马回复。 

duartfp commented 3 months ago

Same issue here

wolflash666 commented 3 months ago

这是来自QQ邮箱的假期自动回复邮件。 已经收到,等我看到了,立马回复。 

oscarsun72 commented 3 months ago

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