florentbr / SeleniumBasic

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

Error : Class not registered #206

Open Kwinten06 opened 4 years ago

Kwinten06 commented 4 years ago

Hello, I installed the last version of selenium basic using the exact following instructions https://stackoverflow.com/questions/57216623/using-google-chrome-in-selenium-vba-installation-steps When i want to add the reference in Excel, i don't find it automatically, so i look for it in C:\Users\%username%\AppData\Local\SeleniumBasic. I tried to select Selenium64.tlb (I'm running on Win10 64bits) then tried Selenium32.tlb version, but both give me "CLASS NOT REGISTERED" error when running the testcode (in the link above)

How can i do to fix this ? Thank you

rufogil commented 2 years ago

Hi. Make sure you add the library TOOLS > REFERENCES> and select: "Selenium Type Library" (in the VBA editor). Also try reinstalling SeleniumBasic. It should work.