0

I have a specific use case requiring me to use 'Selenium Basic' for VBA. The versions don't match and it fails as seen in the image below:

enter image description here

The problem is that the chromedriver that matches the chrome installed isn't out yet.

Moreover, all other browsers except the useless I.E. have the same error, and I mean, Firefox or Opera would do of course. Here is the error these browsers have below.

enter image description here

I initially believed maybe Kaspersky was at fault however its not: even off this connectivity problem persists.

I've google for exactly 65 minutes before writing this. If you have anything of value to share, it would really help me out professionally here.

Thank you kindly,

  • 1
    you have the right driver installed. It needs someone to test whether this is a selenium basic problem due to it no longer being maintained - which is the problem you are seeing with FF. Can you show enough code to reproduce the error and indicate on which line the error occurs? The source of your error may lie elsewhere. – QHarr Mar 15 '21 at 01:29
  • @QHarr Sure. And thank you for trying to help :-) Option Explicit Private browser As Selenium.ChromeDriver Sub login() Set browser = New Selenium.ChromeDriver browser.Start browser.Get "spacequest.procurify.com" End Sub –  Mar 15 '21 at 02:15
  • 1
    Which line gives the error please? Did you try with the full web address (including leading protocol http(s) etc...) – QHarr Mar 15 '21 at 07:45

1 Answers1

0

Chromedriver version:

If you look at the official download site you will see the appropriate version is the Chrome version 89. This covers your version. FireFox is no longer supported and you would need to go back a long way to find a supported version and use the appropriate browser and driver.

enter image description here

I have tested the driver + browser combination which you show with python and it works as expected. The ChromeDriver 89.0.4389.23 driver should cover all 89... version Chrome browser releases to date.


InvalidArgumentException (Runtime error 0 SeleniumError Invalid Argument):

With reference to the error you saw this post gives the official documentation on it: https://stackoverflow.com/a/59067676

You are seeing this error because you have missed the protocol from your url.

Try the following:

Option Explicit

Private browser As Selenium.ChromeDriver

Public Sub login()
    Set browser = New Selenium.ChromeDriver
    browser.Get "https://spacequest.procurify.com"
    
    Stop
    
End Sub
QHarr
  • 83,427
  • 12
  • 54
  • 101
  • 1
    Thank you so much, QHarr! Such a small thing I feel ashamed. Never program when you get tired in my case. Thank you again! –  Mar 15 '21 at 22:04