SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

Unable to open Microsoft edge browser even after adding edge driver

Open vshivaku opened this issue 3 years ago • 9 comments
trafficstars

I have added edge diver to SeleniumBasic path

I am calling finely in my VBA as below

Set driver = New Selenium.EdgeDriver
driver.Start "edge"

when we call driver.Start it suppose to open the bowser but it is not opening. I followed steps clearly in https://florentbr.github.io/SeleniumBasic/. can you please check what could be issue. Note : The same configuration working fine for chrome browser. with lot of research and work around only raising this issue.

Thanks in advance

vshivaku avatar Apr 18 '22 05:04 vshivaku

I don't have any trouble starting Edge that way. My current browser and driver version is 100.0.1185.44.

GCuser99 avatar Apr 18 '22 13:04 GCuser99

Is there any version compatibility issue. below are versions config i have Edge driver : 102.0.1227.0 Microsoft Edge Version 100.0.1185.44 any thing wrong with the versions?

vshivaku avatar Apr 18 '22 13:04 vshivaku

I don't know if those are compatible, but the general rule is that the major version (the number to the left of the first period) should match for compatibility. So try with an Edge driver version 100.X.XXX.XX.

GCuser99 avatar Apr 18 '22 13:04 GCuser99

Yes that`s correct. tried this 100.X.XXX.XX, its working. Thanks. Is it possible same with firefox?

vshivaku avatar Apr 18 '22 13:04 vshivaku

That general rule applies to Chrome and Edge - I don't know about Firefox.

GCuser99 avatar Apr 18 '22 13:04 GCuser99

Actually i am making to open default browser of system. in that process achieved for chrome and edge. For Firefox I didn`t find the driver. So is there any source or solution for this?

vshivaku avatar Apr 18 '22 13:04 vshivaku

this may be of some help: https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html

GCuser99 avatar Apr 18 '22 14:04 GCuser99

Thanks @GCuser99 I will work on this.

vshivaku avatar Apr 18 '22 14:04 vshivaku

There is no solution for FF. FF changed how they access DOM.

mogulman52 avatar Apr 20 '22 17:04 mogulman52