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

Runtime Error -2146232576 (80131700)' for each driver. - commands #251

Closed luigivandetti closed 2 years ago

luigivandetti commented 2 years ago

Hello, unfortunately every time I try to control a browser I get the error

Runtime Error -2146232576 (80131700)'

I have tried with Edge and Chrome. In both cases the same scenario. I have updated the drivers in the C:...\AppData\Local\SeleniumBasic directory.

How can I fix the error?

image

GCuser99 commented 2 years ago

Is .Net Framework 3.5 installed on your computer?

luigivandetti commented 2 years ago

Is .Net Framework 3.5 installed on your computer?

No, but .Net Framework 4.8. I guess that doesn't work with it?

GCuser99 commented 2 years ago

I don't know if there is backward compatibility. I have both .Net Framework versions installed and it works fine for me.

Also for Edge and Chrome, make sure the driver and browser major version matches (the numbers to the left of first period in the version strings).

luigivandetti commented 2 years ago

After I installed the .Net Framework 3.5, now all seems to work :) Thank you!